brintos

brintos / linux-shallow public Read only

0
0
Text · 712 B · 2eb2b51 Raw
25 lines · bash
1#!/bin/bash2# SPDX-License-Identifier: GPL-2.03 4source ./benchs/run_common.sh5 6set -eufo pipefail7 8header "Hashmap Control"9for i in 10 1000 10000 100000 4194304; do10subtitle "num keys: $i"11	summarize_local_storage "hashmap (control) sequential    get: "\12		"$(./bench --nr_maps 1 --hashmap_nr_keys_used=$i local-storage-cache-hashmap-control)"13	printf "\n"14done15 16header "Local Storage"17for i in 1 10 16 17 24 32 100 1000; do18subtitle "num_maps: $i"19	summarize_local_storage "local_storage cache sequential  get: "\20		"$(./bench --nr_maps $i local-storage-cache-seq-get)"21	summarize_local_storage "local_storage cache interleaved get: "\22		"$(./bench --nr_maps $i local-storage-cache-int-get)"23	printf "\n"24done25