cmd/compile: investigate SSA stack size regressions #15597
Labels
early-in-cycle
A change that should be done early in the 3 month dev cycle.
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
For the most part, SSA generates smaller stacks than the old backend, but not always. This issue is to (a) document an easy way to find such regressions and (b) serve as a reminder to investigate some of them to see whether there are reasonable improvements available.
First, apply this diff, so that -S prints just package, function, and stack size:
Then
This is using OS X's diff. This prints four columns: old stack size / new stack size, package+function, old stack size, new stack size.
A few sample lines, pulled from a few places in the output:
Full output at commit e6ec820 is at https://gist.github.com/josharian/9919226c603e9c90a367738962241a06.
cc @randall77 @dr2chase
The text was updated successfully, but these errors were encountered: