Re:Python-based compiler achieves orders-of-magnitude speedups
by acdha on Wednesday March 15, 2023 @09:17AM
(#35167889)
2x, yes. If you’re seeing 100x you’re comparing different things like creating and serializing complex objects versus simple types or using a JSON parser which loads an entire document into objects versus one which only retrieved specific values.
[ Parent
| on HN ]
Re:Python-based compiler achieves orders-of-magnitude speedups
by coldtea on Wednesday March 15, 2023 @10:39AM
(#35168965)
Well, perhaps not 100x in rps, but 10x sure:
Overall top performing frameworks (JS, Java, and Rust) at 650K rps. That's 7x.
Top Python based framework: 86K rps.
A very popular Python framework (flask): 2K rps. That's 325 times worse to the best.
And that's the "single DB query" benchmark: https://www.techempower.com/benchmarks/#section=data-r21&tes...
https://github.com/TechEmpower/FrameworkBenchmarks/wiki/Proj...