Skip to content
Myr

Update benchmark

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 5933dbe · Browse files · 1 file+14 added−14 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+14 added−14 removed

  • other:+14 added−14 removed

1 file+14 added−14 removed

modified:README.md+14 added-14 removed
81 unmodified lines
82## Benchmark8384```rust85$ ./test/benchmark86nanoid 655,798 ops/sec87customAlphabet 635,421 ops/sec88uid.sync 375,816 ops/sec89uuid v4 1,458,587 ops/sec90secure-random-string 366,434 ops/sec91cuid 183,998 ops/sec92shortid 59,343 ops/sec86nanoid 2,280,683 ops/sec87customAlphabet 1,851,117 ops/sec88uid.sync 313,306 ops/sec89uuid v4 1,348,425 ops/sec90secure-random-string 294,161 ops/sec91cuid 158,988 ops/sec92shortid 37,222 ops/sec9394Async:95async nanoid 101,966 ops/sec96async customAlphabet 102,471 ops/sec97async secure-random-string 97,206 ops/sec98uid 91,291 ops/sec95async nanoid 95,500 ops/sec96async customAlphabet 93,800 ops/sec97async secure-random-string 90,316 ops/sec98uid 85,583 ops/sec99100Non-secure:101non-secure nanoid 2,754,423 ops/sec102rndm 2,437,262 ops/sec101non-secure nanoid 2,641,654 ops/sec102rndm 2,447,086 ops/sec103```104105Test configuration: Dell XPS 2-in-a 7390, Fedora 32, Node.js 13.11.105Test configuration: Dell XPS 2-in-1 7390, Fedora 32, Node.js 15.1.106107108## Tools109
394 unmodified lines