JProfiler's command line comparison facility allows you to export a number of
snapshot comparisons as HTML, CSV or XML. This is especially convenient if you use
offline profiling and
wish to generate comparisons in an automated fashion.
There are two ways to programmatically generate comparisons: In both cases you specify a number of snapshots and a number of comparison names together with a set of options for each comparison. Each comparison has its own set of options. The options can be used to adjust the presentation and the displayed data. For each selection step in the comparison wizards, an option is provided that allows you to perform the same selection for the command line comparison. Most comparisons in JProfiler support multiple output formats. By default, the output format is deduced from the extension of the output file:
If you would like to use different extensions, you can use the format option to override the choice of the output format. |
The export will fail if
You can choose to ignore errors by using the global ignoreerrors option. |