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
4 months ago
Test name Executions per second
uuidv1 1486098.8 Ops/sec
uuidv4 1062078.4 Ops/sec
ulid 68124.1 Ops/sec
cuid2 3076.8 Ops/sec
cuid2_32 1342.1 Ops/sec
nanoid 389371.9 Ops/sec
crypto.randomUUID 1107361.5 Ops/sec
HTML Preparation code:
Tests:
  • uuidv1

  • uuidv4

  • ulid

  • cuid2

  • cuid2_32

  • nanoid

  • crypto.randomUUID


;