HTML Preparation code:
Script Preparation code:
Tests:
  • Jeff Ward v7

  • Jon Surrell (not real UUID)

  • Broofa (new)

  • Broofa (old)

  • My Test

  • Jeff Ward v7 window.crypto

  • My Test v2 (array.join)

  • URL.createObjectURL

  • NPM uuid

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Jeff Ward v7
    Jon Surrell (not real UUID)
    Broofa (new)
    Broofa (old)
    My Test
    Jeff Ward v7 window.crypto
    My Test v2 (array.join)
    URL.createObjectURL
    NPM uuid

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:90.0) Gecko/20100101 Firefox/90.0
Firefox 90 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
Jeff Ward v7 3702700.2 Ops/sec
Jon Surrell (not real UUID) 2023632.5 Ops/sec
Broofa (new) 48170.3 Ops/sec
Broofa (old) 308574.2 Ops/sec
My Test 587861.4 Ops/sec
Jeff Ward v7 window.crypto 787794.7 Ops/sec
My Test v2 (array.join) 497032.3 Ops/sec
URL.createObjectURL 49346.7 Ops/sec
NPM uuid 539445.1 Ops/sec