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

Debug slowness #125

Open
baopham opened this issue Aug 17, 2017 · 3 comments
Open

Debug slowness #125

baopham opened this issue Aug 17, 2017 · 3 comments
Labels
bug Features not working as intended need more info The bug cannot be recreated or the feature is unclear

Comments

@baopham
Copy link

baopham commented Aug 17, 2017

How do I debug when an action takes longer than expected? Currently, when I do a D in diff mode, the CPU goes wild.

@rbong
Copy link
Collaborator

rbong commented Aug 17, 2017

Usually, what I do is

:redir @a | 20verbose exec 'normal D' | redir END
:tabe
"ap

Hope that helps. Suggestions for built in debugging utilities is welcome.

@baopham
Copy link
Author

baopham commented Sep 13, 2017

Thank you for the snippet. I couldn't get much info 🤔 I think it could be the git command itself but don't think currently there's a way we can print out the git command being executed?

@rbong
Copy link
Collaborator

rbong commented Nov 18, 2017

No, there isn't a way to currently do that unfortunately. Better error handling is planned.

@rbong rbong added bug Features not working as intended need more info The bug cannot be recreated or the feature is unclear labels Jun 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Features not working as intended need more info The bug cannot be recreated or the feature is unclear
Projects
None yet
Development

No branches or pull requests

2 participants