3 ms·
Which has very disappointing benchmarks at the moment - even slower than some Python and Ruby stacks: https://www.techempower.com/benchmarks/#section=data-r12&
by IshKebab 10y ago
Which has very disappointing benchmarks at the moment - even slower than some Python and Ruby stacks:
https://www.techempower.com/benchmarks/#section=data-r12&hw=peak&test=plaintext https://www.techempower.com/benchmarks/#section=data-r12&hw=...
I'm not sure why this is - I've Googled to no avail - but it is rather worrying.
- andrewflnr 10y agoWhen you see Rust being "slower than Ruby" it's usually because you forgot to turn off debug mode.
- frewsxcv 10y agoLooks like they use build with release mode: https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/frameworks/Rust/iron/setup.sh https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast...
- steveklabnik 10y agoSo it's important to not compare master to when the benchmark was posted; remember, they do them at a certain time, then work happens. So like, I sent a PR to update Rust from 1.0 to 1.6 at one point, for example. That said, I don't think that missing out on --release was the issue here, as far as I know, it has always been on.
- steveklabnik 10y agoI've been doing some work on these benchmarks. They appear really slow to me as well; I found the environment really hard to set up, though, so I haven't quite figured out how to identify why they're this way.