Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 Edg/117.0.2045.60
Chrome 117
Windows
Desktop
6 months ago
Test name Executions per second
Math.random() 10815660.0 Ops/sec
crypto.getRandomValues() 802722.6 Ops/sec
Tests:
  • Math.random()

  • crypto.getRandomValues()