Run details:
Mozilla/5.0 (Linux; Android 10; SM-N960N Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/85.0.4183.81 Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/286.0.0.48.112;]
Chrome Mobile 85
Android
Mobile
4 years ago
Test name Executions per second
Math.random() 2460050.5 Ops/sec
crypto.getRandomValues() 104861.8 Ops/sec
Tests:
  • Math.random()

  • crypto.getRandomValues()