Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Chrome 134
Windows
Desktop
one month ago
Test name Executions per second
Math.random 93155528.0 Ops/sec
crypto.randomUUID 1015093.0 Ops/sec
crypto.getRandomValues 4680855.5 Ops/sec
Script Preparation code:
Tests:
  • Math.random

  • crypto.randomUUID

  • crypto.getRandomValues