Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 YaBrowser/21.8.0.1716 Yowser/2.5 Safari/537.36
Yandex Browser 21
Mac OS X 10.15.7
Desktop
3 years ago
Test name Executions per second
Javascript Set intersection 101867.2 Ops/sec
Lodash intersection 86503.9 Ops/sec
Array intersection 1 76586.5 Ops/sec
Array intersection 2 394567.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Javascript Set intersection

  • Lodash intersection

  • Array intersection 1

  • Array intersection 2


;