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
8 months ago
Test name Executions per second
uuidv1 2940434.2 Ops/sec
uuidv4 872582.8 Ops/sec
ulid 61708.5 Ops/sec
cuid2 54503.4 Ops/sec
cuid2_32 38585.1 Ops/sec
nanoid 470144.0 Ops/sec
crypto.randomUUID 825874.4 Ops/sec
HTML Preparation code:
Tests:
  • uuidv1

  • uuidv4

  • ulid

  • cuid2

  • cuid2_32

  • nanoid

  • crypto.randomUUID


;