New Computer Language Benchmarks Game metric: time + source code size
benchmarksgame-team.pages.debian.net
New Computer Language Benchmarks Game metric: time + source code size
1–10 of 59 posts
Re: New Computer Language Benchmarks Game metric: time + source code size
#2Re: New Computer Language Benchmarks Game metric: time + source code size
#3Re: New Computer Language Benchmarks Game metric: time + source code size
#4Re: New Computer Language Benchmarks Game metric: time + source code size
#5What if you shifted time to nanoseconds ? Or source code size in terms of Megabytes. The rankings could change. The culprit is the '+'
I would think Geometric mean of (time x gzipped source code size) is the correct way to compare languages together. It would not matter what the units of time or size are in that case.
[Here the geometric mean is the geometric mean of (time x gzipped size) of all benchmark programs of a particular language.]
Re: New Computer Language Benchmarks Game metric: time + source code size
#6For comparing multiple implementations of a single benchmark in a single language, this sort of data would be interesting as a 2D plot, to see how many lines it takes to improve performance by how much. But for cross-language benchmarking this seems somewhat confounding, as the richness of standard libraries varies between languages (and counting the lines of external dependencies sounds extremely annoying, not only…
Re: New Computer Language Benchmarks Game metric: time + source code size
#7Re: New Computer Language Benchmarks Game metric: time + source code size
#8Geometric mean of (time + gzipped source code size in bytes) seems statistically wrong. What if you shifted time to nanoseconds ? Or source code size in terms of Megabytes. The rankings could change. The culprit is the '+' I would think Geometric mean of (time x gzipped source code size) is the correct way to compare languages together. It would not matter what the units of time or size are in that case. [Here the ge…
$ insect '5s + 10MB'
Conversion error:
Cannot convert unit MB (base units: bit)
to unit s
$ insect '5s * 10MB'
50 s·MBRe: New Computer Language Benchmarks Game metric: time + source code size
#9For comparing multiple implementations of a single benchmark in a single language, this sort of data would be interesting as a 2D plot, to see how many lines it takes to improve performance by how much. But for cross-language benchmarking this seems somewhat confounding, as the richness of standard libraries varies between languages (and counting the lines of external dependencies sounds extremely annoying, not only…
And when you want to make the code readable you try to space things out, split things in small functions, use longer and clear variables name. I guess they are asking for running the code trough a minifier so their implementation gains some points.
Re: New Computer Language Benchmarks Game metric: time + source code size
#10For comparing multiple implementations of a single benchmark in a single language, this sort of data would be interesting as a 2D plot, to see how many lines it takes to improve performance by how much. But for cross-language benchmarking this seems somewhat confounding, as the richness of standard libraries varies between languages (and counting the lines of external dependencies sounds extremely annoying, not only…