stop tests start tests

JavaScript Big Arrays Intersection

JSpeedmus Benchmark Suite

Every function runs in his own iFrame, thus no conflicts can happen. Tests are run one by one, with an interval to prevent the browser from freeezing.

Tests are run in a neutral environment, no library or framework is included in the main javascript test, to avoid favoritism.

tests array_big_intersect Function Prototype 1.7 RC2 Underscore 1.0.4 JSLab Standard Library Extensions JSLINQ 2.10
2 randomized arrays of 100 numeric elements
2 randomized arrays of 1000 numeric elements
Alphanumeric: first array smaller than the second (300 ∩ 800 => 127)
Alphanumeric: first array larger than the second (800 ∩ 300 => 127)
Numeric: 2100 ∩ 3000 => 1000 entries
Numeric: 1000 ∩ 1000 ∩ 1000 => 1000 entries
Numeric: 1000 ∩ 1000 ∩ 1000 ∩ 1000 => 1000 entries
50000 ∩ 40000 returns 40000 string entries
final Ops/sec (more is better) 000000

Legend

the fastest the faster the slower exception thrown different returned elements

Librairies or functions used for this benchmark are: