5 digit generator

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
Random 1
( "" + Math.random() ).substring(2, 7);
 
ready
Random 2
Math.floor( Math.random() * 90000 ) + 10000;
ready

Revisions

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