Methods and systems for application rendering
US-2018196644-A1 · Jul 12, 2018 · US
US10466989B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-10466989-B2 |
| Application number | US-201113225132-A |
| Country | US |
| Kind code | B2 |
| Filing date | Sep 2, 2011 |
| Priority date | Sep 2, 2011 |
| Publication date | Nov 5, 2019 |
| Grant date | Nov 5, 2019 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
Dynamic code generation and coordination techniques are provided for display of dynamic markup documents including script code. A code generation process is not only guided by deferral of code preparation stages and sub-stages, but also informed by various information levels possessed concerning the code itself, either through interpretation or observation of execution, to not only generate modified code, but also to generate alternative code for alternative situations (e.g., generating different loop bodies that can thereafter be readily swapped in or out depending on a given function call by the browser application). A multi-core architecture further improves user experience by asymmetrically ensuring web site presentation and functionality is prioritized for the user experience.
Opening claim text (preview).
What is claimed is: 1. A computing device, comprising: a memory having computer executable components stored thereon; and a processor communicatively coupled to the memory, the processor configured to facilitate execution of the computer executable components, the computer executable components comprising: a browser application configured to display a markup document including or referencing script code; and a script engine component configured to receive the script code, to analyze at runtime, a portion of the script code or usage of the portion of the script code during execution of the script code in the browser application, to determine a set of conditions under which performance of the portion of the script code increases when execution of a modified portion of the script code is executed in place of the portion of the script code, wherein, in response to the set of conditions being met, the modified portion of the script code is executed by the browser application instead of the portion of the script code. 2. The computing device of claim 1 , wherein, in response to the set of conditions not being met, the portion of the script code is executed by the browser application. 3. The computing device of claim 1 , wherein the portion of the script code is a loop body of the script code and the modified portion of the script code is a modified loop body of the script code. 4. The computing device of claim 1 , wherein the portion of the script code pertains to a type of a variable of the script code and the modified portion of the script code is optimized for the type of the variable. 5. A computing device, comprising: at least two processing cores and at least one memory; a first processing core of the at least two processing cores configured to: process a markup document to display content, the markup document including or referencing script code, the process including generate executable code that enables functionality represented by the script code of the markup document; a second processing core of the at least two processing cores configured to: based on a characteristic of the script code, selectively generate concurrently with the process on the first processing core, alternative executable code for a modified portion of the script code, wherein performance of the modified portion of the script code increases performance of the script code, wherein the alternative executable code is different from the executable code; and substitute the executable code with the alternative executable code for further execution by the first processing core of the script code. 6. The computing device of claim 5 , wherein substitute the executable code includes replace the executable code with the alternative executable code without interfering with a current execution of the executable code of by the first processing core. 7. The computing device of claim 5 , wherein substitute the executable code includes swap in an address of the alternative executable code for further execution by the first processing core. 8. The computing device of claim 5 , wherein selectively generate the alternative executable code includes generate the alternative executable code based on a priority assigned to the script code as represented in a set of priority work queues in which the script code is represented. 9. The computing device of claim 5 , wherein generate the executable code by the first processing core includes generate interpreted code and wherein the selectively generate the alternative executable code by the second processing core includes generate modified code employing a just-in-time compiler. 10. The computing device of claim 5 , wherein selectively generate the alternative executable code by the second processing core includes generate code that is modified for a type of a dynamic variable of the executable code that is inferred or observed for a set of circumstances applicable to execution of the executable code. 11. The computing device of claim 5 , wherein the at least two processing cores is further configured to: re-claim, by a third processing core of the at least two processing cores, memory for objects related to the markup document that are no longer used for the display of the markup document. 12. A method, comprising: displaying, in a browser application of a computing device having at least one processor and a memory, a markup document including or referencing script code; analyzing at runtime, by a script engine, a portion of the script code or usage of the portion of the script code during execution of the script code in a browser application, to determine a set of conditions under which performance of the portion of the script code increases when execution of a modified portion of the script code is executed in place of the portion of the script code; and in response to the set of conditions being met, executing the modified portion of the script code instead of the portion of the script code. 13. The method of claim 12 , further comprising: in response to the set of conditions not being met, executing the portion of the script code. 14. The method of claim 12 , wherein the portion of the script code is a loop body of the script code and the modified portion of the script code is a modified loop body of the script code. 15. The method of claim 12 , wherein the portion of the script code pertains to a type of a variable of the script code and the modified portion of the script code is optimized for the type of the variable. 16. A method, comprising: processing, on a first processing core of at least two processing cores, a markup document to display content, the markup document including or referencing script code, the processing including generating executable code that enables functionality represented by the script code of the markup document; based on a characteristic of the script code, selectively generating, on a second processing core of the at least two processing cores, concurrently with the process on the first processing core, alternative executable code for a modified portion of the script code, wherein performance of the modified portion of the script code increases performance of the script code, wherein the alternative executable code is different from the executable code; and substituting, by the second processing code, the executable code with the alternative executable code for further execution by the first processing core of the script code. 17. The method of claim 16 , wherein substituting the executable code further comprises replacing the executable code with the alternative executable code without interfering with a current execution of the executable code of by the first processing core. 18. The method of claim 16 , wherein substituting the executable code further comprises swapping in an address of the alternative executable code for further execution by the first processing core. 19. The method of claim 16 , wherein selectively generating the alternative executable code further comprises generating the alternative executable code based on a priority assigned to the script code as represented in a set of priority work queues in which the script code is represented. 20. The method of claim 16 , wherein generating the executable code by the first processing core further comprises generating interpreted code and wherein selectively generate the alternative executable code by the second processing core includes generate modified code employing a just-in-time compiler.
Incremental compilation (software reuse G06F8/36) · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.