mirror of
https://github.com/0x5eal/rbxts-pako.git
synced 2025-05-04 10:33:48 +01:00
Move benchmark deps to separate place & create usage memo
This commit is contained in:
parent
56e68c75dc
commit
a51fc3671e
3 changed files with 34 additions and 4 deletions
24
benchmark/README.md
Normal file
24
benchmark/README.md
Normal 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
9
benchmark/package.json
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"private": true,
|
||||||
|
"version": "0.0.0",
|
||||||
|
"dependencies": {
|
||||||
|
"ansi": "^0.3.1",
|
||||||
|
"benchmark": "^2.1.4",
|
||||||
|
"zlibjs": "^0.3.1"
|
||||||
|
}
|
||||||
|
}
|
|
@ -28,8 +28,6 @@
|
||||||
"test": "make test"
|
"test": "make test"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"ansi": "^0.3.1",
|
|
||||||
"benchmark": "^2.1.4",
|
|
||||||
"browserify": "^16.2.3",
|
"browserify": "^16.2.3",
|
||||||
"buffer-from": "^1.1.1",
|
"buffer-from": "^1.1.1",
|
||||||
"eslint": "^5.9.0",
|
"eslint": "^5.9.0",
|
||||||
|
@ -37,8 +35,7 @@
|
||||||
"mocha": "^5.2.0",
|
"mocha": "^5.2.0",
|
||||||
"multiparty": "^4.1.3",
|
"multiparty": "^4.1.3",
|
||||||
"ndoc": "^5.0.1",
|
"ndoc": "^5.0.1",
|
||||||
"uglify-js": "=3.4.8",
|
"uglify-js": "=3.4.8"
|
||||||
"zlibjs": "^0.3.1"
|
|
||||||
},
|
},
|
||||||
"dependencies": {}
|
"dependencies": {}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue