Skip to content

How to diagnose an issue with slowness #2577

Answered by CloseToZero
sturgman asked this question in Q&A
Discussion options

You must be logged in to vote


As shown in the above images, it's because ffap-latex-mode is slow, the reason it's it calls the external program kpsewhich by call-process. Comment out the expression (apply #'call-process ...) and reevaluate the (defun ffap-latex-mode ...), then helm-M-x will retain normal performance.

Unfortunately, I don't know enough related details to come out with a proper fix, but I wonder why helm-fuzzy-highlight-matches need to call helm-guess-filename-at-point even within the command helm-M-x which seems not related to filenames.

Replies: 11 comments 14 replies

Comment options

You must be logged in to vote
4 replies
@sturgman
Comment options

@sturgman
Comment options

@sturgman
Comment options

@sturgman
Comment options

Comment options

You must be logged in to vote
1 reply
@sturgman
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@sturgman
Comment options

@sturgman
Comment options

@sturgman
Comment options

Comment options

You must be logged in to vote
1 reply
@guraltsev
Comment options

Comment options

You must be logged in to vote
1 reply
@sturgman
Comment options

Comment options

You must be logged in to vote
2 replies
@sturgman
Comment options

@sturgman
Comment options

Comment options

You must be logged in to vote
2 replies
@sturgman
Comment options

@CloseToZero
Comment options

Answer selected by sturgman
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants