Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0
Firefox 122
Mac OS X 10.15
Desktop
9 months ago
Test name Executions per second
uuidv1 3563388.8 Ops/sec
uuidv4 5954806.0 Ops/sec
ulid 150123.5 Ops/sec
cuid2 55702.4 Ops/sec
cuid2_32 37122.7 Ops/sec
nanoid 921061.0 Ops/sec
crypto.randomUUID 4442774.5 Ops/sec
HTML Preparation code:
Tests:
  • uuidv1

  • uuidv4

  • ulid

  • cuid2

  • cuid2_32

  • nanoid

  • crypto.randomUUID


;