Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0
Chrome 126
Windows
Desktop
2 months ago
Test name Executions per second
uuidv1 2492713.0 Ops/sec
uuidv4 503106.8 Ops/sec
ulid 38249.8 Ops/sec
cuid2 40811.6 Ops/sec
cuid2_32 29439.0 Ops/sec
nanoid 358755.9 Ops/sec
crypto.randomUUID 518771.6 Ops/sec
HTML Preparation code:
Tests:
  • uuidv1

  • uuidv4

  • ulid

  • cuid2

  • cuid2_32

  • nanoid

  • crypto.randomUUID


;