Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Mobile/15E148 Safari/604.1
Mobile Safari 16
iOS 17.1
Mobile
one year ago
Test name Executions per second
uuidv1 4419767.5 Ops/sec
uuidv4 4969658.5 Ops/sec
ulid 232891.0 Ops/sec
cuid2 62519.6 Ops/sec
cuid2_32 44376.4 Ops/sec
nanoid 813021.8 Ops/sec
crypto.randomUUID 4581259.0 Ops/sec
HTML Preparation code:
Tests:
  • uuidv1

  • uuidv4

  • ulid

  • cuid2

  • cuid2_32

  • nanoid

  • crypto.randomUUID


;