Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36
Chrome 90
Mac OS X 10.15.7
Desktop
3 years ago
Test name Executions per second
Jeff Ward v7 580702.5 Ops/sec
Jon Surrell (not real UUID) 305154.0 Ops/sec
Broofa (new) 9237.2 Ops/sec
Broofa (old) 156766.1 Ops/sec
My Test 242823.6 Ops/sec
Jeff Ward v7 window.crypto 185612.8 Ops/sec
My Test v2 (array.join) 222214.3 Ops/sec
URL.createObjectURL 4170.3 Ops/sec
NPM uuid 579809.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


;