Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0
Firefox 133
Windows
Desktop
3 days ago
Test name Executions per second
uuidv1 2751965.5 Ops/sec
uuidv4 3760143.2 Ops/sec
ulid 75660.8 Ops/sec
cuid2 42740.6 Ops/sec
cuid2_32 24928.1 Ops/sec
nanoid 635955.8 Ops/sec
crypto.randomUUID 3001259.8 Ops/sec
HTML Preparation code:
Tests:
  • uuidv1

  • uuidv4

  • ulid

  • cuid2

  • cuid2_32

  • nanoid

  • crypto.randomUUID