docs: add indexing performance notes to CLAUDE.md

Document expected indexing times so appropriate timeouts are used:
- nixos-options: ~5-6 minutes for nixos-unstable
- hm-options: ~1-2 minutes for master

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-03 23:37:31 +01:00
parent 6073575233
commit 3d704dfaf5

View File

@@ -223,3 +223,10 @@ nix run .#hm-options -- serve
nix run .#nixos-options -- index nixos-unstable nix run .#nixos-options -- index nixos-unstable
nix run .#hm-options -- index hm-unstable nix run .#hm-options -- index hm-unstable
``` ```
### Indexing Performance
Indexing operations are slow due to Nix evaluation and file downloads. When running index commands, use appropriate timeouts:
- **nixos-options**: ~5-6 minutes for `nixos-unstable` (with files)
- **hm-options**: ~1-2 minutes for `master` (with files)
Use `--no-files` flag for faster indexing (~1-2 minutes) if file content lookup isn't needed.