Move benchmark deps to separate place & create usage memo

This commit is contained in:
Vitaly Puzrin 2020-11-07 10:36:55 +03:00
parent 56e68c75dc
commit a51fc3671e
3 changed files with 34 additions and 4 deletions

24
benchmark/README.md Normal file
View file

@ -0,0 +1,24 @@
# Dev sandbox
Helpers to measure performance & create benchmarks.
## Setup
```sh
npm i
```
## Benchmarking
```sh
./benchmark.js
```
## Profiling
```sh
node --prof profile.js
node --prof-process isolate-0xnnnnnnnnnnnn-v8.log
```

9
benchmark/package.json Normal file
View file

@ -0,0 +1,9 @@
{
"private": true,
"version": "0.0.0",
"dependencies": {
"ansi": "^0.3.1",
"benchmark": "^2.1.4",
"zlibjs": "^0.3.1"
}
}

View file

@ -28,8 +28,6 @@
"test": "make test"
},
"devDependencies": {
"ansi": "^0.3.1",
"benchmark": "^2.1.4",
"browserify": "^16.2.3",
"buffer-from": "^1.1.1",
"eslint": "^5.9.0",
@ -37,8 +35,7 @@
"mocha": "^5.2.0",
"multiparty": "^4.1.3",
"ndoc": "^5.0.1",
"uglify-js": "=3.4.8",
"zlibjs": "^0.3.1"
"uglify-js": "=3.4.8"
},
"dependencies": {}
}