Run details:
Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Mobile Safari/537.36
Chrome Mobile 91
Android 6.0
Mobile
3 years ago
Test name Executions per second
Math.random() 8489242.0 Ops/sec
crypto.getRandomValues() 699887.5 Ops/sec
Tests:
  • Math.random()

  • crypto.getRandomValues()