Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36
Chrome 87
Windows
Desktop
4 years ago
Test name Executions per second
Pure JS: map 792564.7 Ops/sec
Pure JS: forEach 1139558.8 Ops/sec
Lodash: uniqBy 2127325.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Pure JS: map

  • Pure JS: forEach

  • Lodash: uniqBy