Add bench of boost / locked free queue

This commit is contained in:
Patrick Pelissier committed 2017-08-31 23:12:51 +02:00
1 parent 95dba68fe1
commit faf1fc56d0
2 files changed
+106

No files matched your search

+8
View File
@@ -192,6 +192,7 @@ bench-libsrt0:
@./bench-libsrt.exe 43
@./bench-libsrt.exe 50
# LIBLFDS shall point to the directory where the bin/build/inc/obj/src directories are
# The library shall be built.
bench-liblfds:
@@ -201,6 +202,7 @@ bench-liblfds0:
$(CC) $(CFLAGS) $(CPPFLAGS) -I "$${LIBLFDS}/inc" bench-liblfds.c -o bench-liblfds.exe $${LIBLFDS}/bin/liblfds711.so -lpthread
@LD_LIBRARY_PATH="$${LIBLFDS}/bin:$${LD_LIBRARY_PATH}" ./bench-liblfds.exe 60
# CONCURRENTQUEUE shall point to the directory where the bin/build/inc/obj/src directories are
# The library shall be built.
bench-concurrentqueue:
@@ -210,6 +212,12 @@ bench-concurrentqueue0:
$(CXX) $(CFLAGS) $(CPPFLAGS) -I "$${CONCURRENTQUEUE}/" bench-concurrentqueue.cpp -o bench-concurrentqueue.exe -lpthread
@./bench-concurrentqueue.exe 60
# BOOST is assumed to be installed in the system
bench-boost:
$(CXX) $(CFLAGS) $(CPPFLAGS) bench-boost.cpp -o bench-boost.exe -lpthread
@./bench-boost.exe 60
############################################################################
bench-plain: