Benchmarks for constant-division problems (not a library! for research only!)
Benchmarks for constant-division problems (not a library! for research only!)
perf
command, but most tests run fine on other operating systems. You can generally install perf
on Linux with commands such as sudo apt-get install linux-tools
or sudo apt-get install linux-perf
.cd dynhashbenches
./time_dynhash_benches_gcc.sh
./time_dynhash_benches_clang.sh
cd ..
cd hashbenches
./time_hash_benches_clang.sh
./time_hash_benches_gcc.sh
cd ..
cd signeddynhashbenches
./time_hash_benches_clang.sh
./time_hash_benches_gcc.sh
cd ..
cd signedhashbenches
./time_hash_benches_clang.sh
./time_hash_benches_gcc.sh
cd ..
cd collatzbenches
./time_collatz_benches_clang.sh signed constant
./time_collatz_benches_clang.sh signed invariant
./time_collatz_benches_clang.sh unsigned constant
./time_collatz_benches_clang.sh unsigned invariant
./time_collatz_benches_gcc.sh signed constant
./time_collatz_benches_gcc.sh signed invariant
./time_collatz_benches_gcc.sh unsigned constant
./time_collatz_benches_gcc.sh unsigned invariant
cd ..
cd benches
./simplified_primes_benches.sh
cd ..