4 ms·
Yes. This has been the case for at least the last 5 years. https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/javascript.html https://benchma
by austin-cheney 3y ago
Yes. This has been the case for at least the last 5 years.
https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/javascript.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
- Xeamek 3y agoSynthetic benchmarks for some algorithms have little to do with actual performance of real life applications
- cuu508 3y agoWhat method do you propose to compare the performance of different programming languages?
- Xeamek 3y agoWhile still far from perfect, benchmarks comparing actual, practical usage, like the ammount of request served by webservers for example, are much better indicators imo. https://web-frameworks-benchmark.netlify.app/result https://web-frameworks-benchmark.netlify.app/result
- oldpersonintx 3y ago[dead]
- d3w4s9 3y agoYeah everyone says that and stops there which is absolutely useless. Benchmarks are at least objective ways to measure something. And there are no "correct" benchmarks. Unless you have better metrics or another way to prove things, please stop repeating these meaningless words
- Xeamek 3y agoI've literally pasted benchmarks measuring actual job (webserver request per second) in a comment below. But besides, the critique isn't meaningless even without providing a better one; If your benchmark is measuring things that are trivial no matter the language (like stack-based operations), but ignores things that actually differ meaningfully (like handling of heap objects), then criticizing such aproach is perfectly fair and valid objection
- trust_bt_verify 3y agoThese benchmarks include startup time _and_ processing time when comparing languages. I don’t believe that is telling a very compelling story given JS is still slightly slower than most of the Java metrics unless you are looking for a new language to write your lambdas.
- pjmlp 3y agoI only see random Java in synthetic benchmarks, without testing all variations of JIT and AOT compilers available throughout the ecosystem. OpenJDK, GraalVM, OpenJ9, Azul, PTC, Aicas, ART, JikesRVM,.... Not to mention the optimizations that a dynamic language like JavaScript will never be able to take advantage of.
- igouy 3y ago? openjdk, GraalVM, Corretto https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/java-graalvm.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
- pjmlp 3y agoCorrecto is OpenJDK with Amazon branding, I left it out on purpose. Still, a dynamic language winning out a strongly typed one, only for those that don't have a clue about how compilers work, or how to write winning micro benchmarks.