bazelbuild / bazelisk

A user-friendly launcher for Bazel.
Apache License 2.0
1.95k stars 300 forks source link

Zsh/Bash completion is unusably slow #249

Open UebelAndre opened 3 years ago

UebelAndre commented 3 years ago

I thought I'd make a more obvious tracking issue for the slowness in zsh completion mentioned https://github.com/bazelbuild/bazel/issues/13578 (and https://github.com/bazelbuild/bazelisk/issues/29#issuecomment-812731606)

UebelAndre commented 3 years ago

I wonder if https://github.com/bazelbuild/bazelisk/pull/248 would improve this.

UebelAndre commented 1 week ago

I wonder if #248 would improve this.

It did not. It's still unreasonable slow to the point of unusable. 😞

UebelAndre commented 1 week ago

It would be ideal if there was some guidance on how to maybe revert to a more primitive but efficient completion implementation. I know there are a few floating around and simply parsing BUILD.bazel files would hopefully be faster than whatever the current completion is doing.