Navigation Menu

Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
bench: add tcp accept benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Sep 5, 2012
1 parent 3bbe8f9 commit 57a7de9
Show file tree
Hide file tree
Showing 3 changed files with 418 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/benchmark-list.h
Expand Up @@ -33,6 +33,10 @@ BENCHMARK_DECLARE (tcp_pump1_client)
BENCHMARK_DECLARE (pipe_pump100_client)
BENCHMARK_DECLARE (pipe_pump1_client)

BENCHMARK_DECLARE (tcp_multi_accept2)
BENCHMARK_DECLARE (tcp_multi_accept4)
BENCHMARK_DECLARE (tcp_multi_accept8)

/* Run until X packets have been sent/received. */
BENCHMARK_DECLARE (udp_pummel_1v1)
BENCHMARK_DECLARE (udp_pummel_1v10)
Expand Down Expand Up @@ -112,6 +116,10 @@ TASK_LIST_START
BENCHMARK_ENTRY (pipe_pound_1000)
BENCHMARK_HELPER (pipe_pound_1000, pipe_echo_server)

BENCHMARK_ENTRY (tcp_multi_accept2)
BENCHMARK_ENTRY (tcp_multi_accept4)
BENCHMARK_ENTRY (tcp_multi_accept8)

BENCHMARK_ENTRY (udp_pummel_1v1)
BENCHMARK_ENTRY (udp_pummel_1v10)
BENCHMARK_ENTRY (udp_pummel_1v100)
Expand Down

0 comments on commit 57a7de9

Please sign in to comment.