Skip to content
Myr

Add crypto.randomUUID benchmark results

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 fe10156 · Browse files · 3 files+3 added−3 removed
This commit

State

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

Diff stats

3 files+3 added−3 removed

  • other:+3 added−3 removed

3 files+3 added−3 removed

modified:README.md+1 added-1 removed
83 unmodified lines
84$ node ./test/benchmark.js85nanoid 4,975,393 ops/sec86customAlphabet 2,717,877 ops/sec87uuid v4 1,778,339 ops/sec88crypto.randomUUID() ???,??? ops/sec88crypto.randomUUID() 598,226 ops/sec89uid.sync 391,311 ops/sec90secure-random-string 372,537 ops/sec91cuid 201,645 ops/sec92shortid 50,462 ops/sec
430 unmodified lines
modified:README.ru.md+1 added-1 removed
89 unmodified lines
90$ node ./test/benchmark.js91nanoid 4,975,393 ops/sec92customAlphabet 2,717,877 ops/sec93uuid v4 1,778,339 ops/sec94crypto.randomUUID() ???,??? ops/sec94crypto.randomUUID() 598,226 ops/sec95uid.sync 391,311 ops/sec96secure-random-string 372,537 ops/sec97cuid 201,645 ops/sec98shortid 50,462 ops/sec
416 unmodified lines
modified:README.zh-CN.md+1 added-1 removed
83 unmodified lines
84$ node ./test/benchmark.js85nanoid 2,280,683 ops/sec86customAlphabet 1,851,117 ops/sec87uuid v4 1,348,425 ops/sec88crypto.randomUUID() ???,??? ops/sec88crypto.randomUUID() 598,226 ops/sec89uid.sync 313,306 ops/sec90secure-random-string 294,161 ops/sec91cuid 158,988 ops/sec92shortid 37,222 ops/sec
419 unmodified lines