Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:77.0) Gecko/20100101 Firefox/77.0
Firefox 77
Mac OS X 10.14
Desktop
4 years ago
Test name Executions per second
Jeff Ward v7 12433020.0 Ops/sec
Jon Surrell (not real UUID) 1802841.8 Ops/sec
Broofa (new) 40223.3 Ops/sec
Broofa (old) 292237.8 Ops/sec
My Test 502498.9 Ops/sec
Jeff Ward v7 window.crypto 918454.3 Ops/sec
My Test v2 (array.join) 530232.6 Ops/sec
URL.createObjectURL 49919.0 Ops/sec
NPM uuid 545395.2 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