by fenomas · 9y ago · 0 comments
I think the only workable approach is what you're doing - have an approximate idea of how the compiler works and make intelligent guesses about what will help. But when you're tuning at the level where changing the order of if statements makes a difference, you're at the level where next month's update may reverse your fix, so in a lot of cases it'll be questionable whether it's worth the effort.
[0] IRHydra - http://mrale.ph/irhydra/2/
d8 --trace-turbo \
--trace-deopt \
--code-comments \
--redirect-code-traces \
--redirect-code-traces-to=code.asm \
--print-opt-code \
your-file.js
and load resulting turbo.cfg and code.asm into IRHydra.However most of the important features (like source and deopt-to-ir mapping) are broken.
I used to repair things in my free time - but I don't think I want to do it anymore.
Oh! Thank you for all your work.
I noticed my current node wasn't dumping .cfg's, and assumed that data path had died with TF.
> but I don't think I want to do it anymore.
Nod. Programming languages - civilization critical infrastructure funded like kindergarten bake sales.