From e668c028a061e5c9fd351c51c49346a3234192b8 Mon Sep 17 00:00:00 2001 From: liabru Date: Sun, 13 Aug 2023 13:15:29 +0100 Subject: [PATCH] updated benchmark tests --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a00d314..d84dffb 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "lint": "eslint 'src/**/*.js' 'demo/src/**/*.js' 'examples/*.js' 'webpack.*.js'", "doc": "yuidoc --config yuidoc.json --project-version $npm_package_version", "doc-watch": "nodemon --delay 3 --watch 'matter-doc-theme' --watch src -e 'js,html,css,handlebars' --exec 'npm run doc'", - "benchmark": "EXAMPLES=stress3 npm run test-node", + "benchmark": "npm run test-node -- --examples=stress3,stress4 --updates=300 --repeats=3", "test": "npm run test-node", "test-node": "npm run build-dev && node --expose-gc node_modules/.bin/jest --force-exit --no-cache --runInBand ./test/Examples.spec.js", "test-browser": "node --expose-gc node_modules/.bin/jest --force-exit --no-cache --runInBand ./test/Browser.spec.js",