4 ms·
All of the languages now have that trash in them. I'd like a "naive" benchmarks game where you write the code straight forwardly in a normal style for the langu
by spullara 4y ago
All of the languages now have that trash in them. I'd like a "naive" benchmarks game where you write the code straight forwardly in a normal style for the language.
- igouy 4y ago"simple" (2nd link on the homepage.) https://benchmarksgame-team.pages.debian.net/benchmarksgame/performance/simple.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
- weberer 4y ago>Java: 40 seconds >Python 3: 1h 09 minutes Well damn.
- UncleEntity 4y agoNot hard to do, I once took some C code, naively converted it to python [0] and it took hours instead of seconds to run. [0] I wanted to output an image and the C code only ran statistics so I would have had to figure out some random C image library which wasn’t how I wanted to spend my day.
- igouy 4y ago:-) "Or even acknowledge — Anyone else a bit shocked by how well Javascript on V8 performs? I might need to rethink my assumptions…" https://benchmarksgame-team.pages.debian.net/benchmarksgame/why-measure-toy-benchmark-programs.html#why-measure https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
- ufo 4y agoIs that only for the mandelbrot benchmark?
- igouy 4y ago"… you choose which program differencies to explore … you choose which program measurements to compare." "Are they similar-enough to be comparable for your purposes?" n-body Chapel #3 program https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/nbody-chapel-3.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/... n-body C clang program https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/nbody-clang-1.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/... n-body Java program https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/nbody-java-1.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
- spullara 4y agoKind of but less transliteration and more in the natural style of the target language.