Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Auto-complete very slow for make command, even using auto-complete code from master branch
- X-seq: zsh-users 30298
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Marcos Alano <marcoshalano@xxxxxxxxx>
- Cc: zsh-users <zsh-users@xxxxxxx>
- Subject: Re: Auto-complete very slow for make command, even using auto-complete code from master branch
- Date: Sun, 6 Jul 2025 21:25:13 -0700
- Archived-at: <https://zsh.org/users/30298>
- In-reply-to: <09bbfb19-73c8-4588-bffc-d6447a6c9c51@gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <09bbfb19-73c8-4588-bffc-d6447a6c9c51@gmail.com>
On Sun, Jul 6, 2025 at 10:54 AM Marcos Alano <marcoshalano@xxxxxxxxx> wrote:
>
> It seems to trigger the auto-complete but OpenWrt has a very big and
> complex Makefile, with a lot of Makefiles across the repository.
[...]
> Any way to debug that to find the culprit?
Typing ctl-x ? (two keystrokes) instead of TAB will invoke
_complete_debug, which writes a log file in /tmp of everything
executed. Most likely, however, it's spending most of its time in
_make-parseMakefile, which for example when completing in the zsh
sources runs for about 2100 commands, or about 2/3 of all the lines in
the dump.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author