swc/crates/swc_ecma_transforms_base/scripts/instrument/bench.sh

11 lines
229 B
Bash
Raw Normal View History

#!/usr/bin/env bash
#
# This instruments a full benchmark suite.
#
# Usage:
#
# ./scripts/instrument/bench.sh typescript
export RUST_LOG=off
cargo profile instruments -t time --bench base --features concurrent --release -- $@