Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 14_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/97.0.4692.84 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 97
iOS 14.7
Mobile
2 years ago
Test name Executions per second
Javascript Set intersection 73231.3 Ops/sec
Lodash intersection 406429.4 Ops/sec
Javascript Array intersection 149123.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Javascript Set intersection

  • Lodash intersection

  • Javascript Array intersection