Skip to content
Myr

Move generate benchmark from simple 2^n case

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Andrey Sitnik · committed by Andrey Sitnik · parent 2c090f8 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:benchmark+1 added-1 removed
16 unmodified lines
17 .add('nanoid', function () {18 nanoid()19 })20 .add('nanoid/generate', function () {21 generate('1234567890abcdef', 10)21 generate('1234567890abcdef-', 10)22 })23 .add('uuid/v4', function () {24 uuid4()25 })
9 unmodified lines