Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0
Firefox 81
Fedora
Desktop
4 years ago
Test name Executions per second
Math.random() 140135088.0 Ops/sec
crypto.getRandomValues() 675341.4 Ops/sec
crypto.getRandomValues() UINT 666915.6 Ops/sec
crypto.getRandomValues() UINT8 729335.1 Ops/sec
Tests:
  • Math.random()

  • crypto.getRandomValues()

  • crypto.getRandomValues() UINT

  • crypto.getRandomValues() UINT8