Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36
Chrome 86
Windows
Desktop
4 years ago
Test name Executions per second
Jeff Ward v7 453756.9 Ops/sec
Jon Surrell (not real UUID) 261560.7 Ops/sec
Broofa (new) 13210.2 Ops/sec
Broofa (old) 123650.3 Ops/sec
My Test 320493.1 Ops/sec
Jeff Ward v7 window.crypto 244498.6 Ops/sec
My Test v2 (array.join) 271106.8 Ops/sec
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)