Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36
Chrome 127
Windows
Desktop
3 months ago
Test name Executions per second
uuidv1 3906766.5 Ops/sec
uuidv4 1076653.9 Ops/sec
ulid 63428.3 Ops/sec
cuid2 75559.6 Ops/sec
cuid2_32 52038.3 Ops/sec
nanoid 527757.8 Ops/sec
crypto.randomUUID 795011.3 Ops/sec
HTML Preparation code:
Tests:
  • uuidv1

  • uuidv4

  • ulid

  • cuid2

  • cuid2_32

  • nanoid

  • crypto.randomUUID


;