Add performance tests base (#3141)

* Add basic bench tests

* dev
This commit is contained in:
Alexandr Garbuzov
2023-10-13 12:27:04 +03:00
committed by GitHub
parent 0fd1ea3ce9
commit 428e97bfcc
7 changed files with 357 additions and 1 deletions
+3 -1
View File
@@ -30,7 +30,8 @@
"format": "prettier --write .",
"format:check": "prettier --check .",
"prepare": "husky install",
"lint": "npx eslint --max-warnings 0 \"./src/**/*.js\" \"./scripts/**/*.js\" \"./tests/**/*.js\" \"./api/**/*.js\" \"./themes/**/*.js\""
"lint": "npx eslint --max-warnings 0 \"./src/**/*.js\" \"./scripts/**/*.js\" \"./tests/**/*.js\" \"./api/**/*.js\" \"./themes/**/*.js\"",
"bench": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.bench.config.js"
},
"author": "Anurag Hazra",
"license": "MIT",
@@ -47,6 +48,7 @@
"hjson": "^3.2.2",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-bench": "^29.4.1",
"jest-environment-jsdom": "^29.7.0",
"js-yaml": "^4.1.0",
"lint-staged": "^14.0.1",