Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:126.0) Gecko/20100101 Firefox/126.0
Firefox 126
Ubuntu
Desktop
5 months ago
Test name Executions per second
Math.random() 1274284800.0 Ops/sec
crypto.getRandomValues() 709518.6 Ops/sec
Tests:
  • Math.random()

  • crypto.getRandomValues()