#!/bin/sh # The Rust indexer over the committed captures (edge/fixtures: 25k overview lines each of a.b.ath, a.b.boneless, # a.b.fta and a.b.models, in 5 chunks): a smoke test of the window on real headers, exiting non-zero when the bench # fails on one. CI runs it after cargo test; run it from the repository root after a change to the indexer. set -eu cd "$(dirname "$0")/.." cargo build --release --quiet --manifest-path edge/Cargo.toml --bin edge-bench for capture in edge/fixtures/*/; do echo "== $(basename "$capture")" edge/target/release/edge-bench "$capture" --batch-chunks 2 --idle 2 | tail -1 done