Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.130 Safari/537.36 OPR/100.0.4815.13
Opera 100
Linux
Desktop
one year ago
Test name Executions per second
Math.random() 874368.8 Ops/sec
crypto.getRandomValues() 73969.7 Ops/sec
Tests:
  • Math.random()

  • crypto.getRandomValues()