Run details:
Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0
Firefox 123
Windows
Desktop
11 months ago
Test name Executions per second
Math.random 21842582.0 Ops/sec
crypto.randomUUID 2162884.5 Ops/sec
crypto.getRandomValues 1700778.4 Ops/sec
Script Preparation code:
Tests:
  • Math.random

  • crypto.randomUUID

  • crypto.getRandomValues