Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0
Firefox 126
Windows
Desktop
6 months ago
Test name Executions per second
uuidv1 3111627.5 Ops/sec
uuidv4 4750839.5 Ops/sec
ulid 94408.4 Ops/sec
cuid2 44120.5 Ops/sec
cuid2_32 30502.7 Ops/sec
nanoid 739532.2 Ops/sec
crypto.randomUUID 3477494.2 Ops/sec
HTML Preparation code:
Tests:
  • uuidv1

  • uuidv4

  • ulid

  • cuid2

  • cuid2_32

  • nanoid

  • crypto.randomUUID


;