3 ms·
Not to be snarky, but the easiest way to get a 10x speedup is to make the previous one 10x too slow. 10x feels pretty good until you find out it was really 40x
by ncmncm 7y ago
Not to be snarky, but the easiest way to get a 10x speedup is to make the previous one 10x too slow. 10x feels pretty good until you find out it was really 40x too slow. I say this only because getting 100x improvements on naive designs has led me to be suspicious of 10x improvements. The principle is that where 10x was available, more is there.
The writeup doesn't mention design choices in Grand Central Dispatch. Is that because we have moved on from GCT, or because it's not known?
- xiphias2 7y agoYou should look at the http server benchmarks before writing this. Hint: tokio based web servers are the fastest.
- Arnavion 7y agoAlso worth noting that the 10x improvement is for tokio's own benchmarks, and even there only in one of the four. The hyper benchmark saw "only" a 34% improvement.
- ncmncm 7y agoGetting downvoted for asking a serious question tells me all I needed to know.
- xiphias2 7y agoI wasn't downviting you, but I'm sure it was the first part of your comment with unchecked facts, not your question that got you downvoted.
- ncmncm 7y agoThere were no unchecked facts in the original post. It is a fact that I have got 100x speedups, and it is my personal experience that 10x speedups rarely come close to exhausting the opportunities. It is a fact that I did not notice any reference in the article to GCD or the techniques that have made it a success.
- ncmncm 7y agoClearly the facts are not the problem. My guess would be that Rust fans are unusually thin-skinned. Let us see... In the meantime, it would not hurt even Rust fans to learn more about how Grand Central Dispatch works.
- housel 7y agoYou might suggest specific GCD mechanisms that might be usefully adopted by tokio.