lilibench v1.0.27
lilibench
Lilibench is a benchmark library for test your js solutions;
Installation
you can install globaly lilibench by follow command:
npm i lilibench -g
Usage
Required params:
p=value or path: path to file with tests
r=value or runs: number of iteration runs
i=value or iterations: number of how many your test will be performed
Additional params:
h : to get help
Example of test:
in tests directory
run test: lilibench p=/{path-to-file}/loop.js r=30 iterations=100000
Requirements for tests
export file must be array of follow objects
{name: string, run: function() => any}
where name - name of test
run - test
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago