Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0
Firefox 127
Linux
Desktop
2 years ago
Benchmark.js
Math.random().toString(36).substring(2, 12)
3.9M/s
Date.now()
853K/s
View exact numbers
Test name Executions per second
Math.random().toString(36).substring(2, 12) 3,948,344 Ops/sec
Date.now() 852,788 Ops/sec
Tests: