#!/usr/bin/env bash set -euxo pipefail rm -rf tmp/benchmark mkdir -p tmp/benchmark INDEX_SNAPSHOT=$1 HEIGHT_LIMIT=$2 cp $INDEX_SNAPSHOT tmp/benchmark/index.redb cargo build --release time ./target/release/bitomc --datadir tmp/benchmark --height-limit $HEIGHT_LIMIT index