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 2834717.8 Ops/sec
uuidv4 868801.8 Ops/sec
ulid 60274.5 Ops/sec
cuid2 53792.4 Ops/sec
cuid2_32 38103.4 Ops/sec
nanoid 472216.1 Ops/sec
crypto.randomUUID 834346.5 Ops/sec
HTML Preparation code:
Tests:
  • uuidv1

  • uuidv4

  • ulid

  • cuid2

  • cuid2_32

  • nanoid

  • crypto.randomUUID


;