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: 2 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 YaBrowser/25.12.0.0 Safari/537.36
Yandex Browser 25 on Windows
View result in a separate tab
Test name Executions per second
uuidv4 2196087.8 Ops/sec
uuidv1 7680164.0 Ops/sec
ulid 104535.8 Ops/sec
cuid2 94244.8 Ops/sec
cuid2_32 62121.1 Ops/sec
nanoid 799548.0 Ops/sec
crypto.randomUUID() 1936652.5 Ops/sec
uid 11166427.0 Ops/sec