Patent attributes
A method, apparatus, and system provide the ability to optimize execution of an application. An application is acquired. The application includes functions, and each function has a corresponding feature flag that determines whether the corresponding function is executed. Execution conditions of execution of the application are monitored at run-time (in a machine learning module). The machine learning module recognizes a pattern relating to the execution conditions to determine a stress relating to the execution of the application. During execution of the application, the machine learning module toggles the feature flags based on the pattern and the stress such that the corresponding functions do not execute.