Skip to content

Commit 1b76a55

Browse files
yyx990803abdullah-wn
authored andcommitted
workflow: improve bench scripts
1 parent 6c8620a commit 1b76a55

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"test-dts": "run-s build-dts test-dts-only",
2323
"test-dts-only": "tsc -p packages-private/dts-built-test/tsconfig.json && tsc -p ./packages-private/dts-test/tsconfig.test.json",
2424
"test-coverage": "vitest run --project unit --coverage",
25-
"test-bench": "vitest bench",
25+
"bench": "vitest bench --project=unit --outputJson=temp/bench.json",
26+
"bench-compare": "vitest bench --project=unit --compare=temp/bench.json",
2627
"release": "node scripts/release.js",
2728
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
2829
"dev-esm": "node scripts/dev.js -if esm-bundler-runtime",

0 commit comments

Comments
 (0)