Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdhvdu committed Jan 26, 2018
1 parent 63b8f18 commit d653fd8
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions performance comparison/philipphenkel/README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,5 @@
# Environment
CPU: intel i7 4930k<br>
OS: windows 7 enterprise sp1, 64 bit<br>
Compiler: visual c++ 2015<br>
Compiler Option: release, x64, full optimization<br>
Iteration: 600000 (because of memory leak, test [test_henkel_ctor_and_dtor](../header/henkel.hpp) by yourself) and 10000000<br>
Thread Count: 12<br>
Boost: 1.60.0
# Result
henkel
each spends 420012 nanoseconds on test_henkel_ctor_and_dtor (600000 iteration)
each spends 51897 nanoseconds on test_henkel_all_N (10000000 iteration)
each spends 1803 nanoseconds on test_henkel_billion (10000000 iteration)
# Compare To Fdhvdu
henkel's threadpool can only compare to Fdhvdu's CThreadPool. (because CThreadPool_Ret cannot use "all" function)<br>
About construction and destruction time, henkel's threadpool is slower than Fdhvdu's threadpool<br>
About waiting all job to complete, henkel's threadpool is slower than Fdhvdu's CThreadPool<br>
About given a number of jobs, henkel's threadpool is slower than Fdhvdu's CThreadPool<br><br>
As a result, you should use Fdhvdu's CThreadPool in any condition
# Compile command
g++ -std=c++14 -O3 test.cpp ../src/philipphenkel.cpp -lpthread -lboost_thread -lboost_system
# Warning
Do not use this.<br>
It gets stuck when runing out_100000.

0 comments on commit d653fd8

Please sign in to comment.