Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36
Chrome 91
Windows
Desktop
3 years ago
Test name Executions per second
Difference - Full 1421784.9 Ops/sec
Intersection - Full 1164279.4 Ops/sec
Difference - Partial 1461370.4 Ops/sec
Intersection - Partial 1407362.6 Ops/sec
Difference - includes 1928772.2 Ops/sec
Intersection - includes 1843428.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Difference - Full

  • Intersection - Full

  • Difference - Partial

  • Intersection - Partial

  • Difference - includes

  • Intersection - includes