Run details:
Mozilla/5.0 (Linux; Android 10; Mi 9T Build/QKQ1.190825.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/106.0.5249.126 Mobile Safari/537.36
Chrome Mobile 106
Android
Mobile
2 years ago
Test name Executions per second
Math.random() 2462882.8 Ops/sec
crypto.getRandomValues() 121360.0 Ops/sec
Tests:
  • Math.random()

  • crypto.getRandomValues()