The numbers are execution times (so lower is better). mean, median and range are statistics on those times (calculated from the 15 runs that it mentions; some tests do more runs as they are noisier). The relative number at the end is just the ratio of the mean of that line to the first (in this case, gcc is faster than clang).
The time is measured by just measuring time when running the benchmark. The python code is in test_benchmark.py, all it does is run the benchmark and note the time before and after. The builds will be put in /tmp/emscripten_temp (assuming /tmp is the default temp dir on your OS). On Tue, Jul 11, 2017 at 1:08 AM, <[email protected]> wrote: > On running *python tests/runner.py benchmark*, one of the tests returned > the following output. > > Can you please explain what do these numbers mean? Also, how are you > measuring this time? And where can I find the native(c++ executable) and > wasm/asm.js builds of the same? > > > > Running Emscripten benchmarks... [ including compilation | Mon Jul 10 > 16:41:56 2017 | em: | llvm: > /Users/labuser/emsdk-portable/clang/e1.37.13_64bit > ] > > test_conditionals (test_benchmark.benchmark) ... > > clang: mean: 2.897 (+-0.024) secs median: 2.894 range: > 2.859-2.955 (noise: 0.842%) (15 runs) > > gcc: mean: 2.793 (+-0.019) secs median: 2.790 range: > 2.763-2.828 (noise: 0.669%) (15 runs) * Relative: 0.96 X slower* > > ok > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
