OrbitDB Benchmark Runner
npm install orbit-db-benchmark-runner 
> OrbitDB Benchmark Runner
npm i orbit-db-benchmark-runner
Check cli.js or use npx benchmarker -h for help
If you want to run benchmarks in a folder have their file name end in .benchmark.js.
```
Options:
-V, --version output the version number
-b, --benchmarks
-o, --output
-i, --baselines
--no-node skip nodejs benchmarks
--no-browser skip browser benchmarks
##### Running Comparisons
1. Create the baseline report output to use for comparison: npx benchmarker -o report.jsonnpx benchmarker -i report.json
2. Use the output baseline report with the baseline option:
benchmarks ran for comparison are best ran on their own machine or a machine with few other things happening in the background
Benchmark files must export an object with an asynchronous method benchmark. The method takes 1 parameter benchmarker` which is used to control the recording and give information about the benchmark. Please see test.benchmark.js for an example.
If you think this could be better, please open an issue!
Please note that all interactions in @orbitdb fall under our Code of Conduct.
Note: The commits of this repository had to be fixed from the initial import. This means if you had forked the repo and had prepared contributions, you need now to rebase them against the latest master. There should not be any conflicts.
MIT © OrbitDB Community