Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0
Chrome 120
Windows
Desktop
11 months ago
Test name Executions per second
uuidv1 1758907.4 Ops/sec
uuidv4 442041.8 Ops/sec
ulid 32262.9 Ops/sec
cuid2 29537.5 Ops/sec
cuid2_32 19794.1 Ops/sec
nanoid 256661.5 Ops/sec
crypto.randomUUID 396046.0 Ops/sec
HTML Preparation code:
Tests:
  • uuidv1

  • uuidv4

  • ulid

  • cuid2

  • cuid2_32

  • nanoid

  • crypto.randomUUID


;