Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:128.0) Gecko/20100101 Firefox/128.0
Firefox 128
Mac OS X 10.15
Desktop
4 months ago
Test name Executions per second
uuidv1 3947922.2 Ops/sec
uuidv4 5248116.5 Ops/sec
ulid 132082.2 Ops/sec
cuid2 54063.7 Ops/sec
cuid2_32 36855.3 Ops/sec
nanoid 964014.4 Ops/sec
crypto.randomUUID 4314787.5 Ops/sec
HTML Preparation code:
Tests:
  • uuidv1

  • uuidv4

  • ulid

  • cuid2

  • cuid2_32

  • nanoid

  • crypto.randomUUID


;