Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Chrome 123
Windows
Desktop
7 months ago
Test name Executions per second
uuidv1 2801799.5 Ops/sec
uuidv4 888702.0 Ops/sec
ulid 62453.5 Ops/sec
cuid2 52128.6 Ops/sec
cuid2_32 37857.2 Ops/sec
nanoid 463347.2 Ops/sec
crypto.randomUUID 819662.2 Ops/sec
HTML Preparation code:
Tests:
  • uuidv1

  • uuidv4

  • ulid

  • cuid2

  • cuid2_32

  • nanoid

  • crypto.randomUUID


;