swc/crates/swc_css_minifier/scripts/instrument/bench-full.sh
Donny/강동윤 88e59ffcda
perf(css/minifier): Setup benchmark (#5800)
**Description:**

I created a simple benchmark for the css minifier. It's full benchmark, which also profiles parser and codegen
2022-09-10 13:39:55 +09:00

11 lines
207 B
Bash
Executable File

#!/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 full --release -- $@