2 ms·
JavaScript (V8) is well over an order of magnitude faster than Python (CPython). https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/python3-no
by paulddraper 2y ago
JavaScript (V8) is well over an order of magnitude faster than Python (CPython).
https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/python3-node.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
And Java/C# is nowhere even close to an order of magnitude faster than JS.
https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/java-node.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
- neonsunset 2y agoThere is no direct comparison vs JS but C# is much[0] more capable than Java at number crunching tasks because of its low-level features. The better showcase would be complex application code where JS cannot keep up with .NET or JVM no matter how much you optimize V8 due to dynamic typing and even simplest operations like property access needing inline caching and guards. [0]: https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/csharp.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
- igouy 2y agohttps://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/node-csharpcore.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/... déjà vu all over again (Or would C# aot and GraalVM be more to the point?)