Random Numerical String

Benchmark created by Carlos Killpack on


Test runner

Ready to run.

Testing in
TestOps/sec
Method 1
String(Math.random())
ready
Method 2
String(Math.random()).slice(2, 15);
ready
Method 3
String(Math.floor(Math.random() * 100000000000001));
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.

  • Revision 1: published by Carlos Killpack on