Because optimizing is a one-way transformation, before you proceed, save a backup of your project. You use the Optimize dialog box to reject changes you do not want, but, once you click the Accept button, you cannot cancel the operation.
The Optimization dialog box presents a left panel that provides a listing of all screens and API calls in your project. The content of this panel is the same as the content in the API Calls view of the designer. The middle section of the Optimization dialog box includes the active (and educational) portions of the optimization process. The selection of optimization steps dictate how the project is optimized. The right side of the dialog box represents the outcome of the optimization process. By comparing the two Number of API Calls fields, you can see the quantity of calls saved by the optimization process.
When you accept the results, the contents of the right panel are moved into the left panel, allowing for an iterative process, designed to be instructive as well as useful.The optimization process will bypass API calls that reference user-defined variables. You can implement these optimization steps later, in the code.
Selecting a screen automatically selects all of the API calls associated with that screen.
An optimization step represents a single unit of work that applies a given optimization rule to the selected set of API calls. You can highlight each step individually to see a description (and example) of what the step accomplishes in your project. There may be steps included that cannot be used. These are included so you can view the description and example. These optimization steps may be implemented in various ways, depending on your needs. You may want to consider implementing them yourself within your application code.
The Results of Running Optimization tree view displays your optimized project view. It may contain fewer API calls, and might contain fewer screens, too. The Number of API Calls field shows the number of calls included in the optimized project.
To learn more about the results of the optimization, and see how additional parameters may have been added to the reduced set of API calls, right-click in the Selection view, select Show Parameters, then right-click in the Results view, and then select Show Parameters.
The content of the Results of Running Optimization tree view are moved to the Select Screens for Optimization tree view, which updates to represent the new content of your project.
|Project Optimization Overview|
|Recording Bridge Interactions|