Creating a globally optimized strategy
Increase the performance of your strategy by creating a globally optimized instance of your rule. You can also use a globally optimized strategy as a substrategy to decrease code size and increase performance of the top-level strategy that is not optimized.
-
Create an instance of the Strategy rule with the Global optimization option enabled:
- In the View additional configuration options , select Global optimization .
- Enter the Apply To class of the strategy that you want to optimize.
Note: The globally optimized strategy is a beta feature; some of the Strategy components cannot currently be optimized. -
On the Global optimization tab, select a strategy that you want to optimize.
-
To see the optimization status of individual substrategies and strategy components, click
Expand strategies
.
Note: You can disable optimization of substrategies that consist of components that cannot be optimized or when you want to create separate globally optimized instances for such substrategies.
-
In the Output optimization tab, select properties that you want to calculate in the optimized strategy.
-
In the Test tab, specify the source and subject of the test run
Select one of the following options:
- Data transform to specify a Data transform instance as the subject of the test run.
-
Data set to use a particular data set as the subject of the test run (for example, a data table with customers) and perform the following actions:
- Select a data set that is the source of the test run.
- In the Subject ID field, specify the record (customer) that is the subject of the test run.
-
Data flow to use a data flow as the source of the test run and perform the following actions:
- In the Data flow field, specify the data flow that is the source for the test run.
- In the Subject ID field, specify the record (customer) that is the subject of the test run.
When you test a strategy on a data flow, the system runs the specified data flow, and then uses the output of that data flow for the selected subject ID in the test run.
-
To see differences between non-optimized and optimized results, click Compare.