Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Math.random vs crypto.getRandomValues vs uuid
Fast and quick test
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15
Browser:
Safari 26
Operating system:
Mac OS X 10.15.7
Device Platform:
Desktop
Date tested:
7 months ago
Math.random
429.0M/s
Uuid
11.4M/s
crypto API
6.3M/s
View exact numbers
Test name
Executions per second
✓
Math.random
428,968,832 Ops/sec
Uuid
11,395,888 Ops/sec
crypto API
6,261,024 Ops/sec
Tests:
Math.random
Math.random()
crypto API
crypto.getRandomValues(new Uint8Array(1))
Uuid
crypto.randomUUID()