azk-benchmark
v0.2.3
Published
azk's benchmarking tool
Downloads
5
Readme
azk-benchmark
azk's benchmarking tool
Features
- Choose which
azk version
to use. - Uses azkdemo as default project but this is configurable
- Provision execution
- Benchmarks several azk commands
- Can send all results to some Keen.IO repo
Install
npm install azk-benchmark -g
Run
$ azk-benchmark # will run with default azk binary
$ azk-benchmark azk # will run with azk
$ azk-benchmark azk --send # run and send to Keen.IO
# you can customize all configuration, like this:
$ azk-benchmark azk --git-repo=azukiapp/azkdemo \
--dest-path=/tmp/azkdemo_benchmark \
--git-ref=benchmark \
--send
Verbose level
$ azk-benchmark azk # just show results table
$ azk-benchmark azk -v # shows each result
$ azk-benchmark azk -vv # shows each result and spawn output
Configure Keen.IO keys
You can also create a .env file
export AZK_BENCHMARK_KEEN_IO_PROJECTID=qweasd
export AZK_BENCHMARK_KEEN_IO_WRITEKEY=qweasd
Test and run locally
npm test
node ./bin/azk-benchmark.js -h