Community
Participate
Working Groups
In the future, it would be nice to have the ability to compare results of profiling the same binary. For example, in the simple case, suppose a user made a change to some method and wanted to test how the new change affected performance. They could run one session before the change, and one after. They could then specify that they want the 2 sessions to be compared and displayed in an easy to understand format. The work for this functionality in Eclipse OProfile existed in a branch in our old svn repos, and it shouldn't be too difficult to adapt this to work for perf.
Created attachment 217768 [details] Added PMSymbolMatch class
Created attachment 217769 [details] Added PerfDefaultLaunchConfiguration class
Created attachment 217770 [details] Added PMSymbolMatcher class
Created attachment 217771 [details] Added data file collection/clear actions
Created attachment 217772 [details] Added data collection viewer
Created attachment 217773 [details] Added data comparison viewer
Created attachment 217774 [details] Added label provider and column sorter to the compaison viewer
Created attachment 217775 [details] Added data comparison action
Created attachment 217776 [details] Modified perf viewer and plug-in.xml Modified perf viewer and plug-in.xml to include the data collection/comparison view. -- I submitted this patch, with the permission of my employer, under the epl license agreement and is written entirely by me.
Created attachment 217779 [details] Added copyright header to PMSymbolMatcher class
Created attachment 218026 [details] Added project name to configuration attributes
Created attachment 218056 [details] Updated patch to reflect current changes on master.
Patch submitted on gerrit using Perf's built-in comparison support: https://git.eclipse.org/r/#/c/11996/ Currently on hold until M7.
The perf comparison feature has been commit on master in commit 100e4be5e9762493f06a975ba807187131557d72.