Automatic configuration of an execution environment
AssigneeModdable Tech, Inc.
InventorPatrick Soquet
Life of this patent
Estimating the term…
Abstract
A computing device and automatic method for reducing memory usage in a device having an execution environment, such as one using an interpretive scripting engine. Application code is analyzed to determine unused features. Based upon this analysis, a build process is configured to omit the unused features. Then, the execution environment is built for the application code that excludes features not used by the application code. The application code and the execution environment can then be loaded into a deployment device for execution of the application code by the execution environment.
Claims27
An automatic method performed in a computer system comprising the following steps:
- a) analyzing application code to determine excluded features of a scripting language execution environment corresponding to unused features of the scripting language execution environment unused in application code, wherein the application code is ECMAScript, the excluded features including at least one object of the execution environment of the scripting language execution environment including at least one object of the scripting language execution environment, wherein the scripting language execution environment is configured to execute the ECMAScript interpretive language;
- b) configuring a build process to exclude excluded features of the scripting language execution environment corresponding to the unused features of the scripting language execution environment unused in the application code;
- and
- c) building a modified scripting language execution environment for the application code without the excluded features of the scripting language execution environment corresponding to the unused features of the scripting language execution environment unused in the application code.
A computing device comprising:
- a) a central processing unit (CPU);
- b) an analyzer for processing and determining excluded features of an scripting language execution environment corresponding to unused features of the scripting language execution environment unused in application code, wherein the application code is ECMAScript, the excluded features of the scripting language execution environment including at least one object of the scripting language execution environment, wherein the scripting language execution environment is configured to execute the ECMAScript interpretive language;
- c) a configuration generator coupled to the analyzer for configuring a builder to exclude the excluded features of the scripting language execution environment corresponding to the unused features of the scripting language execution environment unused in the application code;
- and
- d) the builder coupled to the configuration generator for building a modified scripting language execution environment for the application code without the excluded features of the execution environment corresponding to the unused features of the scripting language execution environment unused in the application code.
Dependencies are inferred from the claim text.