3 ms·
I'd be interested in benchmarks vs other similar frameworks, for the same use case. These had json/db queries benchmarks however Phoenix lags behind (will be at
by mtw 11y ago
I'd be interested in benchmarks vs other similar frameworks, for the same use case. These had json/db queries benchmarks however Phoenix lags behind (will be at the top soon?) https://www.techempower.com/benchmarks/previews/round11/ https://www.techempower.com/benchmarks/previews/round11/
- out_of_protocol 11y agoTake a look at source code. Phoenix in question 1) outdated, version used is really really old (0.8 or so) 2) Database pool set to really low value unlike other participants (~10x lower) 3) Configured to do many things other frameworks skip, like generating csrf token All these points were fixed already but, most likely, new results will go to Round 12
- mtw 11y agook. will see round 12. But why did you downvote my comment? I was just reporting a fact, a benchmark that was performed by a third-party. It's not like I was voicing a weird opinion or fabricating truth.
- out_of_protocol 11y agoI didn't (nor have such rights nor intention). Also, valid question imo. Btw, tested it [old version] locally with a single change - set pool size to 256 (similar to other frameworks). Result: ~10x performance boost
- pekk 11y agoThis is par for the course on the TechEmpower benchmarks. Certain technologies' benchmarks have always been relentlessly optimized while others are left to "the community" which means you can submit PRs, but they'll likely be rejected even if they reflect the usual deployment patterns for a high proportion of users of the language/framework being represented.
- koshak 11y agothat's why this benchmark seems irrelevant.