Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
Math.random vs performance.now
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:138.0) Gecko/20100101 Firefox/138.0
Browser:
Firefox 138
Operating system:
Ubuntu
Device Platform:
Desktop
Date tested:
one year ago
Benchmark engine:
Benchmark.js
Math.random
1623.3M/s
performance.now
6.0M/s
View exact numbers
Test name
Executions per second
✓
Math.random
1,623,348,096 Ops/sec
performance.now
6,031,384 Ops/sec
Tests:
Math.random
Math.random()
performance.now
performance.now()