Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 18_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/133.0 Mobile/15E148 Safari/605.1.15
Mobile Safari 18
iOS 18.2
Mobile
7 days ago
Test name Executions per second
Math.random 310287584.0 Ops/sec
crypto.randomUUID 1299946.4 Ops/sec
crypto.getRandomValues 2207378.0 Ops/sec
Script Preparation code:
Tests:
  • Math.random

  • crypto.randomUUID

  • crypto.getRandomValues