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() 140248944.0 Ops/sec
crypto.getRandomValues() 626406.4 Ops/sec
crypto.getRandomValues() UINT 720799.4 Ops/sec
crypto.getRandomValues() UINT8 621109.2 Ops/sec
Tests:
  • Math.random()

  • crypto.getRandomValues()

  • crypto.getRandomValues() UINT

  • crypto.getRandomValues() UINT8