stop testsstart 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.

testsarray_big_intersect FunctionPrototype 1.7 RC2Underscore 1.0.4JSLab Standard LibraryExtensionsJSLINQ 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 fastestthe fasterthe slowerexception throwndifferent returned elements

Librairies or functions used for this benchmark are: