HTML Preparation code:
Tests:
  • uuidv4

  • uuidv1

  • ulid

  • cuid2

  • cuid2_32

  • nanoid

  • crypto.randomUUID()

  • uid

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    uuidv4
    uuidv1
    ulid
    cuid2
    cuid2_32
    nanoid
    crypto.randomUUID()
    uid

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Chrome 120 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
uuidv4 1004590.2 Ops/sec
uuidv1 5480974.5 Ops/sec
ulid 83636.2 Ops/sec
cuid2 94211.9 Ops/sec
cuid2_32 64321.2 Ops/sec
nanoid 648364.5 Ops/sec
crypto.randomUUID() 942130.2 Ops/sec
uid 6070156.5 Ops/sec