增加性能测试

This commit is contained in:
YHH
2025-06-07 21:28:31 +08:00
parent 499cbf8a60
commit 50420f9052
9 changed files with 794 additions and 28 deletions

View File

@@ -21,11 +21,17 @@
"scripts": {
"build": "tsc",
"build:watch": "tsc --watch",
"build:dev": "tsc -p tsconfig.dev.json",
"build:dev:watch": "tsc -p tsconfig.dev.json --watch",
"clean": "rimraf bin",
"clean:dev": "rimraf dev-bin",
"clean:all": "rimraf bin dev-bin",
"rebuild": "npm run clean && npm run build",
"rebuild:dev": "npm run clean:dev && npm run build:dev",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:framework:benchmark": "npm run build:dev && node dev-bin/Testing/framework-benchmark-test.js",
"lint": "eslint src --ext .ts",
"lint:fix": "eslint src --ext .ts --fix",
"prepublishOnly": "npm run rebuild",