aboutsummaryrefslogtreecommitdiff
path: root/perf/CMakeLists.txt
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-01-05 14:30:05 -0800
committerGarrett D'Amore <garrett@damore.org>2017-01-05 14:30:05 -0800
commit49708b26aa2e836a882343b72c288eae997e23d3 (patch)
tree9e9a51d0bffa8faab822532c3e5d42daf2b5c969 /perf/CMakeLists.txt
parentbc9aec8395edb2ae9ce219892a1e99a6e114860c (diff)
downloadnng-49708b26aa2e836a882343b72c288eae997e23d3.tar.gz
nng-49708b26aa2e836a882343b72c288eae997e23d3.tar.bz2
nng-49708b26aa2e836a882343b72c288eae997e23d3.zip
Implement throughput performance tests.
The throughput performance tests "try" to avoid hitting the allocator, but I think this actually causes other cache related performance, and the receive thread still has to perform a message allocation, leading to really rotten performance. Its probably time to think about a message pool.
Diffstat (limited to 'perf/CMakeLists.txt')
-rw-r--r--perf/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/perf/CMakeLists.txt b/perf/CMakeLists.txt
index 44c4c607..07c6480b 100644
--- a/perf/CMakeLists.txt
+++ b/perf/CMakeLists.txt
@@ -41,3 +41,5 @@ endif ()
add_nng_perf(remote_lat)
add_nng_perf(local_lat)
+add_nng_perf(local_thr)
+add_nng_perf(remote_thr)