0001
0002
0003
0004 source ./benchs/run_common.sh
0005
0006 set -eufo pipefail
0007
0008 header "Hashmap Control"
0009 for i in 10 1000 10000 100000 4194304; do
0010 subtitle "num keys: $i"
0011 summarize_local_storage "hashmap (control) sequential get: "\
0012 "$(./bench --nr_maps 1 --hashmap_nr_keys_used=$i local-storage-cache-hashmap-control)"
0013 printf "\n"
0014 done
0015
0016 header "Local Storage"
0017 for i in 1 10 16 17 24 32 100 1000; do
0018 subtitle "num_maps: $i"
0019 summarize_local_storage "local_storage cache sequential get: "\
0020 "$(./bench --nr_maps $i local-storage-cache-seq-get)"
0021 summarize_local_storage "local_storage cache interleaved get: "\
0022 "$(./bench --nr_maps $i local-storage-cache-int-get)"
0023 printf "\n"
0024 done