About the Tests
Air is an ES2015 port of the WebKit B3 JIT’s
Air::allocateStack phase. This code is a heavy user of Map, Set, classes, spread, and for-of. The benchmark runs
executeIteration from Octane/Gameboy,
gaussianBlur from Kraken, and
scanIdentifier from Octane/Typescript. Air also runs
allocateStack on a hot function from Air itself. Browse the source.
Basic is an ES2015 implementation of the ECMA-55 BASIC standard. BASIC was an interactive language from the start, so our implementation uses generator functions for the entire interpreter. When the BASIC program says
INPUT, our interpreter says
yield. This allows users of the interpreter to easily integrate it into a runloop. Basic also uses classes, Map, and WeakMap. The benchmark runs a handful of simple programs, the most complex of which finds prime numbers. Browse the source.
ARES-6 rewards browsers that start up quickly and run smoothly. It's not enough to just measure the total running time of a workload. Browsers may perform differently for the same workload depending on how many times it has run. Garbage collection runs periodically, making some iterations take longer than others. Code that runs repeatedly gets optimized by the browser, so the first iteration of any workload is more expensive than the rest. ARES-6 runs these benchmarks for 200 iterations and reports the execution time of the first iteration, the average of the worst 2% iterations, and the overall geometric mean. Each of these values is given an equal weight when computing the ovarall time. ARES-6 equally rewards fast start-up, low jank, and sophisticated adaptive optimizations for long-running code.
Each ARES-6 sample has 200 iterations of Air and 200 iterations of Basic. ARES-6 runs 10 samples, and reports the average with 95% confidence intervals. Each sample runs in a fresh
iframe to simulate some of the effects of page navigation.
Return to Testing