Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0
Firefox 110
Windows
Desktop
one year ago
Test name Executions per second
difference(from, [a, b, c]) - match 7646454.0 Ops/sec
difference(from, [a, b, c]) - mismatch 7690365.0 Ops/sec
difference(from, [union(a, b, c)]) - match 1038719.0 Ops/sec
difference(from, [union(a, b, c)]) - mismatch 1114122.0 Ops/sec
Script Preparation code:
Tests:
  • difference(from, [a, b, c]) - match

  • difference(from, [a, b, c]) - mismatch

  • difference(from, [union(a, b, c)]) - match

  • difference(from, [union(a, b, c)]) - mismatch