ts-benchmark
v1.1.11
Published
A command line interface for monitoring the performance of typescript.
Downloads
197
Maintainers
Readme
Installation:
npm i ts-benchmark -g
Description:
A command line interface for monitoring the performance of typescript.
Features:
- Ability to specify specific fields of benchmark result.
- Watcher which trigger benchmark process on any change made to the specified path.
- It can be use to benchmark two different branches.
Usage:
Benchmark the current directory:
ts-benchmark
Benchmark test folder which is test project and watch changes on src folder to trigger benchmark:
ts-benchmark -p ./test -w ./src
Like the previous command but it will shows specific fields of benchmark result instead of all fields:
ts-benchmark -p ./test -w ./src -f 17 18 29 32
Similar to the previous command but it will check if field 17 has reached the maximum valid value "10000":
ts-benchmark -p ./test -w ./src -f 17/10000 18 29 32
Benchmark test folder watch changes on src folder after benchmark master branch:
ts-benchmark -p ./test -w ./src -b master