Modernize benchmarks (#2132)

* Introduce benchmarks
This commit is contained in:
Igor Savin
2026-03-18 00:43:46 +02:00
committed by GitHub
parent 70b8f1145d
commit bf93bafeca
37 changed files with 1063 additions and 4239 deletions
+4 -4
View File
@@ -51,6 +51,9 @@
"test:browser-smoke": "playwright test --config tests/browser/playwright.config.js",
"test:serve": "npx serve -l 9999 .",
"test:integration": "npm run build && ./tests/integration/run-integration-tests.sh",
"bench": "node tests/bench/perf.mjs",
"bench:compare": "node tests/bench/compare.mjs",
"bench:size": "node tests/bench/size.mjs",
"--- combined tasks ---": "",
"check-before-pull-request": "concurrently --kill-others-on-fail npm:lint npm:test"
},
@@ -70,22 +73,19 @@
"@vitest/browser-playwright": "^4.0.18",
"@vitest/coverage-v8": "^4.0.18",
"aws-sdk": "^2.1.49",
"benchmark": "~1.0",
"concurrently": "^5.0.0",
"dustjs-linkedin": "^2.0.2",
"eslint": "^10.0.3",
"eslint-plugin-compat": "^7.0.1",
"fs-extra": "^8.1.0",
"husky": "^3.1.0",
"lint-staged": "^16.3.2",
"mock-stdin": "^0.3.0",
"mustache": "^2.1.3",
"oxfmt": "^0.36.0",
"oxlint": "^1.51.0",
"semver": "^5.0.1",
"tinybench": "^6.0.0",
"typescript": "^3.4.3",
"uglify-js": "^3.19.3",
"underscore": "^1.5.1",
"vitest": "^4.0.18"
},
"peerDependencies": {