Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Chrome 122
Mac OS X 10.15.7
Desktop
8 months ago
Test name Executions per second
uuidv1 5074620.5 Ops/sec
uuidv4 1127450.1 Ops/sec
ulid 66256.9 Ops/sec
cuid2 97589.9 Ops/sec
cuid2_32 58160.8 Ops/sec
nanoid 621669.6 Ops/sec
crypto.randomUUID 581302.0 Ops/sec
HTML Preparation code:
Tests:
  • uuidv1

  • uuidv4

  • ulid

  • cuid2

  • cuid2_32

  • nanoid

  • crypto.randomUUID


;