Run details:
Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36
Chrome 110
Chrome OS 14541.0.0
Desktop
one year ago
Test name Executions per second
Math.random() 10808760.0 Ops/sec
crypto.getRandomValues() 768475.0 Ops/sec
Tests:
  • Math.random()

  • crypto.getRandomValues()