Context-sensitive optimization level selection
AssigneeGoogle Inc.
InventorJames A. Roskind
Life of this patent
Estimating the term…
Loading patent…
AssigneeGoogle Inc.
InventorJames A. Roskind
Estimating the term…
A method for selecting a performance optimization level for program code segments (e.g., JavaScript code) embedded in interactive webpages according to the origin (e.g., domain) of the webpages is disclosed. The information on historic usage behavior on webpages from the same origin is collected. The historic usage behavior can be specific to the current user or an average or aggregated behavior across many users who have visited webpages from the same origin. The historic usage information is used to select an appropriate level of optimization to achieve the maximum performance improvement for the least amount of compilation cost. The selected optimization level can be adjusted over time based on a measure of actual performance improvement resulted from the different levels of optimization that had been carried out during prior visits.
A computer-implemented method, comprising:
A computer storage medium encoded with a computer program, the program comprising instructions that when executed by data processing apparatus cause the data processing apparatus to perform operations comprising:
A system comprising:
Dependencies are inferred from the claim text.