Comparing optimization reports

2.1.0+

Once you have generated an optimization report with IBM® watsonx Code Assistant for Z Code Optimization Advice and you have made changes to your code to improve the performance, you can recompile and generate a follow-up report. This allows you to compare performance of your programs before and after the optimization improvements are implemented.

Procedure

  1. Recompile and run the program again after changes are made.
  2. Open the context menu for the launcher and select Submit Job.
    A report will be generated following the naming convention specified in // SET JSON=hlq.coa.output in the JCL launcher file.
    Attention: Ensure that the name of the new report is not the same as the previous report, or the previous report will be overwritten.
  3. Open the context menu for the newly generated report and select Open Optimization Report.
    The new report opens in the Editor Tab bar.
  4. Open a split view in the editor by either opening a context menu on the tab and selecting one of the split view commands, or by using the split view icon in the Editor Tab bar.
  5. Move one of the report tabs into the empty split views to compare the reports.
    Note: When comparing reports, it is recommended to compare the CPU time between the reports for the most accurate results. Learn more at Metrics for comparing reports.