Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:90.0) Gecko/20100101 Firefox/90.0
Firefox 90
Mac OS X 10.15
Desktop
3 years ago
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
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