martinus / map_benchmark

Comprehensive benchmarks of C++ maps
MIT License
299 stars 29 forks source link

k-nucleotide benchmark #26

Closed camel-cdr closed 1 year ago

camel-cdr commented 1 year ago

The benchmark was adapted from the k-nucleotide benchmark of "The Computer Language Benchmarks Game", and benchmarks integer access in a slightly more realistic workload.

I'm not sure if you are interested in upstreaming this, but here are the results for a quick run of all hash tables with the abseil hash:

results

result.txt

generated with:

for i in bench_*
do
    taskset -c 2,3 ./$i knucleotide >> /tmp/data1.txt &
    taskset -c 4,5 ./$i knucleotide >> /tmp/data2.txt &
    taskset -c 6,7 ./$i knucleotide >> /tmp/data3.txt &
    taskset -c 8,9 ./$i knucleotide | tee -a /tmp/data4.txt&
wait
done