Nim httpbeast was 8th , 2 benchmarks ago : https://www.techempower.com/benchmarks/#section=data-r18&hw=ph&test=json
Now it is 20th https://www.techempower.com/benchmarks/#section=data-r20&hw=ph&test=json
I am curious what changed the performance?
I am curious what changed the performance?
Other frameworks got faster?
benchmark 20:
avg : 0.3ms sd : 0.3ms max: 17.8 ms
benchmark 18:
avg : 0.3ms sd : 0.1ms max: 12.5 ms
so from those benchmarks , nim got slower in benchmark 20 : which is done at 2021-02-08 benchmark 18 was at : 2019-07-09
Definitely an interesting question to explore. For what it's worth, taking for example tokio-minihttp in the JSON benchmark, it was #6 in Round 18 and is #68 in Round 20.
I think it's a combination of a lot of things: new languages/frameworks added, new variants of the same (already fast) languages/frameworks being added, some slowing down of Nim and/or the libraries. What it comes down to is as usual time commitment: if somebody spends time identifying the regressions/bottlenecks they can help us get to the top.
https://github.com/TechEmpower/FrameworkBenchmarks/discussions/6552
apparently a cpu bug workaround caused a big dip in the benchmarks between round 18 and 20