Rank, 14 days: 4 on the Bun sheet
2 people reported

All time, since Oct 27.

Startup slows in large directories

“Startup time should not depend on how many unrelated files sit next to the script or in ancestor directories.”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/bun/issues/22114/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

Startup slows with entry count in cwd and ancestor directories. Even a no-op script like bun -e 0 starts slower when the working directory or a parent folder holds many unrelated files.

Is this your bug?

File my report
Where
Startup
Versions
1.4.4. Still reported on the newest version, 1.4.4.
Platforms
Linux, macOS
How bad
Breaks a normal workflow.

Not quite your bug?

  1. Directory fds leak during test runs2 people

Original reports2, newest first

  1. Startup time scales with the number of entries in the cwd and every ancestor directory#48125
  2. Startup lists every entry of each ancestor directory, so a no-op script slows down linearly with unrelated files in parent folders#47103

Do you work on Bun?

Claim its RAP Sheet to see what your users report and answer them in one place.