1.0.27 • Published 3 years ago

lilibench v1.0.27

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

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

1.0.27

3 years ago

1.0.26

3 years ago

1.0.25

3 years ago

1.0.24

3 years ago

1.0.23

3 years ago

1.0.22

3 years ago

1.0.21

3 years ago

1.0.20

3 years ago

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago