Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.134 Safari/537.36 Edg/103.0.1264.77
Chrome 103
Mac OS X 10.15.7
Desktop
2 years ago
Test name Executions per second
Lodash 32073.2 Ops/sec
Set Spread based 38482.7 Ops/sec
Set ArrayFrom based 39720.9 Ops/sec
Object Based Unique 35877.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash

  • Set Spread based

  • Set ArrayFrom based

  • Object Based Unique