Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Chrome 122
Windows
Desktop
7 months ago
Test name Executions per second
uuidv1 2765391.2 Ops/sec
uuidv4 602694.6 Ops/sec
ulid 52934.8 Ops/sec
cuid2 42894.1 Ops/sec
cuid2_32 29274.7 Ops/sec
nanoid 423113.6 Ops/sec
crypto.randomUUID 635081.1 Ops/sec
HTML Preparation code:
Tests:
  • uuidv1

  • uuidv4

  • ulid

  • cuid2

  • cuid2_32

  • nanoid

  • crypto.randomUUID


;