Code needs to warm up a little before TI can provide good information for property accesses etc. in a script. IonMonkey should support delayed compilation in a similar manner to JM, though for now will only enter scripts at function entry rather than at loop heads.
Created attachment 556722 [details] [diff] [review] patch Introduces delayed compilation and --ion-eager to get around it.
Assignee: general → dvander
Status: NEW → ASSIGNED
Attachment #556722 - Flags: review?(bhackett1024)
This potentially makes testing more annoying right now, since we'll have to type --ion-eager all the time, so if anyone would rather see --ion-lazy instead, let me know and I'll change it. (Though, in theory, we'd like to be testing with type inference which will need lazy compilation.)
Attachment #556722 - Flags: review?(bhackett1024) → review+
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
This made a huge difference for JM's memory consumption, so it's good to see IonMonkey getting the same treatment.
You need to log in before you can comment on or make changes to this bug.