swc/crates/swc_plugin_runner/scripts/instrument/bench.sh
Donny/강동윤 20d071bdc7
test(es/plugin): Add a noop plugin (#5892)
**Description:**

The plugin is used for benchmark and verification of rkyv.
2022-09-18 09:54:06 +00:00

11 lines
262 B
Bash
Executable File

#!/usr/bin/env bash
#
# This instruments a full benchmark suite.
#
# Usage:
#
# ./scripts/instrument/bench.sh typescript
export CARGO_MANIFEST_DIR=$(pwd)
export RUST_LOG=off
cargo profile instruments -t time --bench invoke --features rkyv-impl --release -- $@