Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36
Chrome 91
Windows
Desktop
3 years ago
Test name Executions per second
Difference - Full 1519147.2 Ops/sec
Intersection - Full 1408516.9 Ops/sec
Difference - Partial 1664732.9 Ops/sec
Intersection - Partial 1506796.1 Ops/sec
Difference - includes 2032627.9 Ops/sec
Intersection - includes 1868643.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Difference - Full

  • Intersection - Full

  • Difference - Partial

  • Intersection - Partial

  • Difference - includes

  • Intersection - includes