Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36
Chrome 85
Mac OS X 10.14.6
Desktop
4 years ago
Test name Executions per second
Jeff Ward v7 344889.3 Ops/sec
Jon Surrell (not real UUID) 120026.6 Ops/sec
Broofa (new) 5454.5 Ops/sec
Broofa (old) 91269.8 Ops/sec
My Test 144716.8 Ops/sec
Jeff Ward v7 window.crypto 114008.3 Ops/sec
My Test v2 (array.join) 133316.8 Ops/sec
URL.createObjectURL 1454.2 Ops/sec
NPM uuid 297526.4 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


;