4 ms·
Uuh the benchmarks in this site is very misleading (for all languages). Do your own tests otherwise the numbers there are practically meaningless.
by mda 6y ago
Uuh the benchmarks in this site is very misleading (for all languages). Do your own tests otherwise the numbers there are practically meaningless.
- igouy 6y agoYes, when others have not written the programs you would like to compare — write your own programs to compare. https://benchmarksgame-team.pages.debian.net/benchmarksgame/why-measure-toy-benchmark-programs.html#reimplement https://benchmarksgame-team.pages.debian.net/benchmarksgame/... How programs are written does matter.
- mda 6y agoOf course it matters, What I am saying is that; here is a program written in language A, which uses all the tricks in the book to solve this particular problem, here is a another one written in language B, it uses a completely different technique / algorithm and isn't optimized to death. How is it valid to make a decision about performance if implementations and restrictions are wildly different? So to me the site offers very little of value and I can not take any comparison from there seriously.
- igouy 6y ago> … if implementations and restrictions are wildly different? What if we can all see implementations that are not wildly different? https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/spectralnorm-node-1.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/... https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/spectralnorm-dart-1.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
- mda 6y agoAnd as I explained on a different comment, performance of many different language / compilers for this particular benchmark are almost same "If" they use the same technique ( C, C++, Java, Swift, Javascript and Dart.) But the argument here started as "Hey look language A is faster than language B" , while pointing out completely different implementations, which is, absurd.
- igouy 6y ago> … while pointing out completely different implementations… danielscrubs referenced measurements which showed similar performance for Dart and NodeJS programs, but did not mention that similar performance.