[PR #6771] docs/troubleshooting.mdx: add workaround for poor performance in large codebases #12098

Open
opened 2026-02-16 18:17:01 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/6771

State: open
Merged: No


38x faster for a simple "hello" in the chromium codebase (~400k+ files):

$ git ls-files | wc -l
468753

~2m6s without opencode.json (default):

Screenshot 2026-01-03 at 12 34 40 PM

~3s with snapshot=false in opencode.json:

Screenshot 2026-01-03 at 12 37 05 PM
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/6771 **State:** open **Merged:** No --- 38x faster for a simple "hello" in the chromium codebase (~400k+ files): ``` $ git ls-files | wc -l 468753 ``` ~2m6s without opencode.json (default): <img width="715" height="463" alt="Screenshot 2026-01-03 at 12 34 40 PM" src="https://github.com/user-attachments/assets/95b50053-7ff0-477a-a51c-be7ee8815fb5" /> ~3s with snapshot=false in opencode.json: <img width="715" height="462" alt="Screenshot 2026-01-03 at 12 37 05 PM" src="https://github.com/user-attachments/assets/21f2467f-ccca-4ff9-8ecf-58dd92d26523" />
yindo added the pull-request label 2026-02-16 18:17:01 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12098