Update performance scripts to support taking input file parameters.
This commit is contained in:
@@ -16,7 +16,7 @@ function main {
|
||||
additional_flags+=(--profile "$PROFILE")
|
||||
fi
|
||||
cargo build --no-default-features "${additional_flags[@]}"
|
||||
perf record --freq=2000 --call-graph dwarf --output=perf.data target/${PROFILE}/parse
|
||||
perf record --freq=2000 --call-graph dwarf --output=perf.data target/${PROFILE}/parse "${@}"
|
||||
|
||||
# Convert to a format firefox will read
|
||||
# flags to consider --show-info
|
||||
|
||||
Reference in New Issue
Block a user