1.0.27 • Published 2 years ago

lilibench v1.0.27

Weekly downloads
-
License
ISC
Repository
-
Last release
2 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

2 years ago

1.0.26

2 years ago

1.0.25

2 years ago

1.0.24

2 years ago

1.0.23

2 years ago

1.0.22

2 years ago

1.0.21

2 years ago

1.0.20

2 years ago

1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago