by nicovank · 2y ago · 0 comments
Correct. "Selection of Benchmark Implementations" is a better name here. We'll update this in the next iteration. The point in this subsection is indeed that the selection is not adequate for comparison. This is not the only issue, even an adequate selection of perfectly idiomatic and identical implementations would not have resulted in accurate comparison.
> C/C++ Outlier
Correct, Section 4.5.2 details this. It is 8.9x for us.
> JS/TS Outlier
The main outlier on our machine is mandelbrot, 21x (Section 4.5.1). Our second outlier is n-body (not discussed).
Because? Is the reasoning for that spelled-out somewhere in the paper?
> Section 4.5.2
> Section 4.5.1
After the paper had discussed “Pereira et al.” I repeatedly confused discussion of your new measurements with discussion of the old “Pereira et al.” measurements.
> "forcing benchmarks to run on a single core" p2&3
> "we eliminate the effect of varying concurrency in different benchmark implementations by limiting benchmarks to execute on a single core" p6
> "the JavaScript version uses 28 cores on average" p14
fwiw I am now very confused.
I'm concerned that section 2.2.1 is a misreading of Pereira et al.
[29] "… the performance of a language is influenced by the quality of its compiler, virtual machine, garbage collector, available libraries, etc."
In that context it seems plain that "language" must be understood as a shortening of "language implementation."
> "For instance, Pereira et al. treat Ruby and JRuby as different languages, while they are in fact two separate implementations of the same Ruby language."
It seems to me that Pereira et al. treat Ruby and JRuby as different "language implementations" and compare each one independently against the other language implementations.
(In the "corpus of small benchmark implementations" it was simply convenient to keep separate programs for Ruby and JRuby.)
With respect to Ruby vs. JRuby: my student just checked and verified that some but not all of the benchmarks are implemented differently (k-nucleotide, mandelbrot, pidigits, spectral-norm).