nushell / nushell/nushell

Performance issues with completions (regression)

Open
#18,799 15 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status:needs-triage
Dominant language
Rust
Stars
40.5k
Forks
2.3k
Avg merge
1d 19h
Merged PRs (30d)
85

Description

Bug report form
  • I have done a basic search of the issue tracker to find any existing issues that are similar.
  • I have checked that my version is at least the latest stable release available via my installation method.
Describe the bug

On latest main, completions now take 10x as long as on 0.114.1. This may not be an issue on most platforms, but on WSL, the delay can be 8 seconds or more.

How to reproduce

On WSL, on an empty commandline, hit Tab

8 seconds later (being generous), the completion menu appears.

Expected behavior

Menu appears nearly instantaneously, as with 0.114.1 and before.

Configuration
key value
version 0.114.2
major 0
minor 114
patch 2
branch main
commit_hash 15268e32db522ccd301e27a2ebb303fe4ac5eefb
build_os linux-x86_64
build_target x86_64-unknown-linux-gnu
rust_version rustc 1.95.0 (59807616e 2026-04-14)
rust_channel 1.95.0-x86_64-unknown-linux-gnu
cargo_version cargo 1.95.0 (f2d3ce0bd 2026-03-21)
build_time 2026-08-07 17:29:48 -04:00
build_rust_channel release
allocator standard
features default, lsp, mcp, network, plugin, rustls-tls, sqlite, trash-support
installed_plugins formats 0.106.2, gstat 0.113.2, polars 0.106.2, query 0.106.2
experimental_options example=false, dc-glob=false, reorder-cell-paths=true, pipefail=true, enforce-runtime-annotations=true, native-clip=false, cell-path-types=false

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the regression on WSL by pressing Tab on an empty command line, comparing latest main or 0.114.2 with 0.114.1. Trace the completion path to identify what causes the delay, then verify that the completion menu appears nearly instantaneously as it did before the regression.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.