From 2458e0deefbc069dfaa81091f6fe4a93250d8913 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 10 Oct 2021 13:06:47 +0300 Subject: chore: drop obsolete benchmark.sh This uses benchmark binaries that no longer exist. Sponsored-by: author --- benchmark.sh | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100755 benchmark.sh diff --git a/benchmark.sh b/benchmark.sh deleted file mode 100755 index cf7491a..0000000 --- a/benchmark.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -set -euo pipefail - -chunkdir="$1" -bin="$2" - -cleanup() -{ - echo "emptying $chunkdir" 1>&2 - find "$chunkdir" -mindepth 1 -delete -} - -cleanup - -echo "running benchmarks for various sizes" -for n in 1 10 100 1000 10000 100000 1000000 -do - echo "size $n" 1>&2 - for prog in benchmark-null benchmark-index benchmark-store benchmark-indexedstore - do - /usr/bin/time --format "$prog $n %e" "$bin/$prog" "$chunkdir" "$n" 2>&1 - cleanup - done -done | awk '{ printf "%-30s %10s %10s\n", $1, $2, $3 }' -- cgit v1.2.1