first: setup
setting up repo.
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
# bench-busybox.sh — benchmark the busybox wc applet against the release
|
||||
# build of fastwc. Fails fast: the moment fastwc is slower than (or
|
||||
# disagrees with) busybox wc, a human readable report is written to
|
||||
# FAILED-benchmark.txt and this script exits non-zero.
|
||||
#
|
||||
# usage: ./bench-busybox.sh
|
||||
set -u
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
# shellcheck source=std.sh
|
||||
source "$SCRIPT_DIR/std.sh"
|
||||
|
||||
checkfastwc
|
||||
checkwc busybox
|
||||
BENCH_NAME="busybox"
|
||||
|
||||
run_benchmark_suite
|
||||
Reference in New Issue
Block a user