-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
7041: Add Percentage column based on Duration in stack trace view #257
Conversation
👋 Welcome back schaturvedi! A progress list of the required criteria for merging this PR into |
Webrevs
|
....flightrecorder/src/main/java/org/openjdk/jmc/flightrecorder/stacktrace/StacktraceModel.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The functionality here looks good to me.
My only nit is that the column doesn't appear to be created with set weights (maybe it's a linux thing?) and the width of the new column is very large.
For example, when trying it for the first time I was confused why the column wasn't appearing, but it is just created with a 0 size and needs to be drag expanded. Additionally, to be able to actually read the column contents the width has to be made very large to the point where it overlaps the other column, but again that's probably just a nit on the size of my monitor.
@Suchitainf This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 1 new commit pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
/integrate |
@Suchitainf Since your change was applied there has been 1 commit pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit fbf2d9b. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
This PR address the enhancement requested by one of our customers where they were missing the percentage column by duration in stacktrace view which was available in JMC 5.5. Currently we have percentage column which is calculating the percentage based on event count and there is no way user can configure that.
Since this functionality might not be used by many customers I have added a toggle icon in Stacktrace View so that user can set the view according to his preference and by default the new column will be hidden.
Default view showing toggle icon:
Percentage By Duration Column :
Please review the change and let me know your valuable feedback on this.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jmc pull/257/head:pull/257
$ git checkout pull/257
Update a local copy of the PR:
$ git checkout pull/257
$ git pull https://git.openjdk.java.net/jmc pull/257/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 257
View PR using the GUI difftool:
$ git pr show -t 257
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jmc/pull/257.diff