Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 1.3 KB

README.md

File metadata and controls

21 lines (15 loc) · 1.3 KB

threadpool_benchmark

Benchmark of some thread pool implementations in C++.

The following implementations are benchmarked, against parallelized prime number search:

To build use make

To run: ./benchmark_pool <size of input> <number of procs>

To fetch all implementations needed for the benchmark, call ./fetch_dependencies.sh. Benchmarked implementations will be cloned under a lib directory.

To run multiple times for different different number of threads (up to max procs) use: ./run_benchmark.sh <interation> <max processors>

To build and run against CentOS7 and FreeBSD11, run vagrant up under the centos and freebsd directories. Information about Vagrant is here: https://www.vagrantup.com/