blob: 5ad72ff937b8345bbb6c596691921ecec64b8e73 [file] [log] [blame]
#!/bin/bash -e
go=${1:-go}
cd $(dirname $0)
set -x
$go test -bench . -count 5 > slog.bench
$go test -tags nopc -bench . -count 5 > slog-nopc.bench