Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
Chrome 125
Windows
Desktop
6 months ago
Test name Executions per second
uuidv1 3333173.0 Ops/sec
uuidv4 638700.2 Ops/sec
ulid 44928.6 Ops/sec
cuid2 55774.9 Ops/sec
cuid2_32 38970.6 Ops/sec
nanoid 404457.8 Ops/sec
crypto.randomUUID 596145.9 Ops/sec
HTML Preparation code:
Tests:
  • uuidv1

  • uuidv4

  • ulid

  • cuid2

  • cuid2_32

  • nanoid

  • crypto.randomUUID


;