System for enhancing script execution performance
First Claim
Patent Images
1. A method of facilitating enhanced script execution performance, the method comprising:
- collecting execution profiles of a script from a plurality of client devices;
aggregating the collected execution profiles, said aggregating comprising (1) identifying portions of the script that cannot execute in a compiled script and (2) producing an aggregate execution profile of the script;
receiving a request from a first client device to access a network resource that is associated with the script;
retrieving the script from a content server;
providing the script to the first client device; and
providing the aggregate execution profile to the first client device to enable the first client device to compile the script, using the aggregate execution profile, to produce the compiled script that excludes the portions of the script that cannot execute;
wherein at least said aggregating and said providing the aggregate execution profile to the first client device are implemented by a computer system comprising computer hardware.
1 Assignment
0 Petitions
Accused Products
Abstract
Systems and methods can optimize or attempt to optimize portions of scripts that might be overlooked by traditional compilers. These systems and methods can include a code analysis module that develops an aggregate execution profile for a script by aggregating individual execution profiles of a plurality of users. These systems and methods can use the aggregate execution profile to emphasize aspects of the script that can be optimized for a plurality of users, enabling improved script performance for users.
-
Citations
20 Claims
-
1. A method of facilitating enhanced script execution performance, the method comprising:
-
collecting execution profiles of a script from a plurality of client devices; aggregating the collected execution profiles, said aggregating comprising (1) identifying portions of the script that cannot execute in a compiled script and (2) producing an aggregate execution profile of the script; receiving a request from a first client device to access a network resource that is associated with the script; retrieving the script from a content server; providing the script to the first client device; and providing the aggregate execution profile to the first client device to enable the first client device to compile the script, using the aggregate execution profile, to produce the compiled script that excludes the portions of the script that cannot execute; wherein at least said aggregating and said providing the aggregate execution profile to the first client device are implemented by a computer system comprising computer hardware. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A system for facilitating enhanced script execution performance, the system comprising:
a code analysis module comprising computer hardware, the code analysis module configured to; collect execution profiles of a code module from a plurality of client devices, and aggregate the collected execution profiles to (1) identify portions of the script that cannot execute in a compiled script and (2) produce an aggregate execution profile of the code module; and provide the aggregate execution profile to a first client device to enable the first client device to compile the code module, using the aggregate execution profile, to produce the compiled script that excludes the portions of the script that cannot execute. - View Dependent Claims (7, 8, 9, 10, 11, 12)
-
13. A method of facilitating enhanced script execution performance, the method comprising:
-
collecting execution profiles of a script from a plurality of client devices; aggregating the collected execution profiles, said aggregating comprising (1) identifying portions of the script that cannot execute in a compiled script and (2) producing an aggregate execution profile of the script; receiving a request from a first client device to access a network resource that is associated with the script; accessing the script from a content server; compiling the script to produce the compiled script, said compiling comprising using the aggregate execution profile of the script to optimize compilation of the script by at least excluding the portions of the script that cannot execute from the compiled script; decompiling the compiled script to produce a modified script; and providing the modified script to the first client device. - View Dependent Claims (14, 15, 16, 17)
-
-
18. A system for facilitating enhanced script execution performance, the system comprising:
-
a code analysis module configured to; collect execution profiles of a script from a plurality of client devices, and aggregate the collected execution profiles to (1) identify portions of the script that cannot execute in a compiled script and (2) produce an aggregate execution profile of the script; and a content rendering engine comprising computer hardware, the content rendering engine configured to; access the script; compile the script to produce a compiled script, said compiling comprising using the aggregate execution profile of the script to optimize compilation of the script by at least excluding the portions that cannot execute from the compiled script; decompile the compiled script to produce a modified script; and provide the modified script to a first client device.
-
-
19. A system for facilitating enhanced script execution performance, the system comprising:
-
a code analysis module configured to; collect execution profiles of a script from a plurality of client devices, and aggregate the collected execution profiles to produce an aggregate execution profile of the script, the aggregate execution profile comprising code path information that indicates which portions of the script that are not likely to be executed; and a content rendering engine comprising computer hardware, the content rendering engine configured to; remove the portions of the script not likely to be executed from the script to produce a first modified script; compile the first modified script to produce a compiled script; decompile the compiled script to produce a second modified script; and provide the second modified script to a first client device. - View Dependent Claims (20)
-
Specification