Skip to content
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

Searching for Explanations of the Most Recent Pause #86

Open
JiaHong-Lee opened this issue Jul 26, 2020 · 2 comments
Open

Searching for Explanations of the Most Recent Pause #86

JiaHong-Lee opened this issue Jul 26, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@JiaHong-Lee
Copy link

Hi, thank you for this great package.

I open this issue because I couldn't find any related previous discussion.

Previously, there are recent pause information echoes in the minibuffer. Also, the *explain-pause-top* was sorted in chronological order.

Now, using the latest commit 0296151, the *explain-pause-top* has become more informative, but how can I sort the explanation in reverse chronological order? Or maybe there is another way to get the most recent pause explanation?

This is desired because after experiencing a sudden pause, I want to find out causes of the pause.

@lastquestion lastquestion added the enhancement New feature or request label Jul 28, 2020
@lastquestion
Copy link
Owner

Hi,

thanks for trying it out and using it!

You're right, there is no reverse chronological order. The pauses are shown in order per command, but you don't see the last pause highlighted in any way. And there's no way to tell which one of the slow ones was the last slowest.

I'm open to ideas about how to visualize this information.

Hm, I could order top by "last executed command`, but post-command hooks, self-insert-command, etc are very frequent, and quickly would push down whatever was slow. That could work if there was a filter option to "only show slow things".

Another option would be to show the last slowest thing and when it happened at the top of the buffer like an alert or header.

I kind of like that idea more; that would be a good call to action to another view or some kind of better reverse timeline view.

If you have other ideas, or prefer one or the other, please let me know.

@ashiklom
Copy link

ashiklom commented Oct 9, 2020

I'm also interested in this feature, as I would like to use this library to diagnose a nasty and difficult-to-reproduce hang.

Hm, I could order top by "last executed command`, but post-command hooks, self-insert-command, etc are very frequent, and quickly would push down whatever was slow. That could work if there was a filter option to "only show slow things".

As long as this wasn't the default, I think this could actually be useful for a use case like mine where I am trying to diagnose a hang; it would at least give me a sense of the most recent functions called before Emacs ground to a halt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants