|
|
|
|
|
by stcredzero
2563 days ago
|
|
Avoiding GC costs exactly nothing in progress or in iteration time. This might be true in new development. The specific context in this discussion was rewrites. So, the analysis of GC overhead is always going to pit cost X against cost zero, no matter how low you manage to get X. Again, you're talking about new development. That's not going to fit everyone's situation. |
|
The problem is that whatever level of GC overhead you start with, or achieve, it will be non-zero, and its actual magnitude, including typically big cache-footprint knock-on effects that show up attributed, in perf results, to mainline processing, will be practically impossible to estimate reliably without comparing against a rewrite.
So, instead, you generally have to say: we compared some similar(-ish) program Y that was rewritten and cut the number of server instances required to meet demand by 30%, 60%, or what-have-you. But, exactly for the reasons you cite, comparisons published are against performance under GC after that optimization has already been done, as much as was practical.