Run details:
Mozilla/5.0 (Android 13; Mobile; rv:106.0) Gecko/106.0 Firefox/106.0
Firefox Mobile 106
Android
Mobile
2 years ago
Test name Executions per second
Math.random() 1358692352.0 Ops/sec
crypto.getRandomValues() 1778453.2 Ops/sec
Tests:
  • Math.random()

    AخA
     
    Math.random()
  • crypto.getRandomValues()

     
    crypto.getRandomValues(new Uint32Array(1))[0] / 4294967296