Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
7ed6efc
perf: batch ReplaceFileGraph writes during indexing (#20)
isink17 Apr 22, 2026
28e4e1b
perf(index): add phase profiling + reduce ReplaceFileGraphsBatch over…
isink17 Apr 22, 2026
d787242
store: batch ResolveEdgesForPaths updates and add unresolved edge-nam…
isink17 Apr 22, 2026
663cc77
perf: speed up ResolveEdges suffix strategy and path-scoped updates; …
isink17 Apr 22, 2026
d817597
perf(store): add Phase 1 pragmas, batch MarkFilesSeen updates, and in…
isink17 Apr 22, 2026
7f86a15
perf(index/store): batch token + embedding writes; make index benches…
isink17 Apr 22, 2026
a8e9fcc
perf(store): batch multi-row inserts for edges, references, and impor…
isink17 Apr 22, 2026
bf988eb
refactor(store): batch test_links inserts and cleanup prepared statem…
isink17 Apr 22, 2026
9ce71a0
perf(indexing): add phase timings + write_stats counters; improve ben…
isink17 Apr 23, 2026
c47dfea
store: batch symbols + symbol_fts inserts; reduce delete statement pr…
isink17 Apr 23, 2026
d0ffa42
indexing: reduce tokenization allocations and add tokenize timing sta…
isink17 Apr 23, 2026
5c09a0f
watch: coalesce dirty queue writes and make DrainDirtyFiles concurren…
isink17 Apr 23, 2026
52a5e7d
indexer: skip mark_seen DB writes for path-scoped updates
isink17 Apr 23, 2026
b0d07fc
indexer: resolve edges path-scoped for update runs (avoid repo-wide r…
isink17 Apr 23, 2026
b70f912
indexer: targeted cross-file edge resolution on update (preserve path…
isink17 Apr 23, 2026
91d1d4d
store: narrow ResolveEdgesForNames candidates with indexed exact-matc…
isink17 Apr 23, 2026
968c113
Revert "store: narrow ResolveEdgesForNames candidates with indexed ex…
isink17 Apr 23, 2026
4f9624b
store: narrow ResolveEdgesForNames candidates with indexed exact-matc…
isink17 Apr 23, 2026
c18a83f
resolve: add cross-file candidate stats + tests for ResolveEdgesForNames
isink17 Apr 23, 2026
0fe6694
watch: ignore chmod-only + directory-create events; add repeated-work…
isink17 Apr 23, 2026
e02d587
maintenance: add FTS optimize to clean and expand doctor DB diagnosti…
isink17 Apr 23, 2026
1c16147
cli: disable HTML escaping in JSON/JSONL output for schema stability …
isink17 Apr 23, 2026
b4718ef
clean/doctor: add explicit ANALYZE, WAL checkpoint, incremental vacuu…
isink17 Apr 23, 2026
91034bb
cli/index: stabilize --jsonl scan payloads (add scan_kind, include pa…
isink17 Apr 23, 2026
8ac3fa7
cli/index: stabilize --jsonl scan event envelopes with repo/scan corr…
isink17 Apr 23, 2026
715d2f8
Q1 (#42)
isink17 Apr 23, 2026
8fd60ff
json: stabilize watch/doctor machine-readable output (watch event env…
isink17 Apr 23, 2026
f841e30
benchmark: add --sqlite-profile and capture sqlite_profile/host conte…
isink17 Apr 23, 2026
d90bd81
cli: add index_smoke runner with compact jsonl + median baseline for …
isink17 Apr 24, 2026
7922ed7
store/indexer: purge deleted-file graph rows and nullify cross-file s…
isink17 Apr 24, 2026
5a1aeda
watch: apply repo include/exclude and harden dirty_files draining (#47)
isink17 Apr 24, 2026
888ce49
store: speed up edge resolver (dot-tail2 map, dotted-edge index, reso…
isink17 Apr 24, 2026
916f412
cli/config: default repo artifacts under .codegraph (db, bench gocach…
isink17 Apr 24, 2026
b0bc423
watch/store: watch config parity + crash-safe dirty queue (claim/dele…
isink17 Apr 24, 2026
0351130
perf(store): scale ResolveEdges dot-suffix + cap slash-suffix map gro…
isink17 Apr 25, 2026
0c2d820
docs(changelog): normalize release summaries across all tagged versions
isink17 Apr 25, 2026
8794f5d
perf(store): de-correlate ResolveEdges 1/2/4 by distinct dst_name; ad…
isink17 Apr 25, 2026
3392b4b
fix(store): scope RelatedTests(file) + deterministic symbol lookup; p…
isink17 Apr 25, 2026
affc082
perf(store): cache batch-insert SQL + speed up edge src selection in …
isink17 Apr 26, 2026
8b3a4d7
fix(store/doctor): harden DB pragmas and migration lifecycle correctn…
isink17 Apr 26, 2026
61db68c
bench(store): add chooser + callers/callees benchmarks; retry applyPr…
isink17 Apr 26, 2026
d617c1d
store: cache symbol insert SQL + IN placeholders to reduce write-path…
isink17 Apr 26, 2026
e2047d1
add per-strategy resolver microbenches (slash-suffix, dot-tail2, dot-…
isink17 Apr 27, 2026
69a580f
trim residual write-path allocations + add multi-file batch bench + f…
isink17 Apr 27, 2026
4b92f8e
perf(store/indexer): trim repo-wide change-detection floor cost (#61)
isink17 Apr 27, 2026
848e8b9
perf(export): page no-focus JSONPaged via ExportSymbolsPage/EdgesPage…
isink17 Apr 27, 2026
009ad71
perf(store/resolver): early-return resolveEdgesBySlashSuffix when no …
isink17 Apr 27, 2026
1d1717c
docs(changelog): catch up Unreleased with #52–#64
isink17 Apr 27, 2026
5f7a358
perf(indexer): overlap ExistingFiles load with FS walk on repo-wide s…
isink17 Apr 27, 2026
b445a1f
perf(store/resolver): schema-backed slash-suffix path via qualified_s…
isink17 Apr 27, 2026
395676c
perf(export): writer-based JSONStream for unbounded JSON export (#67)
isink17 Apr 27, 2026
1fb8081
fix(store): delete test_links pointing at purged target files (#68)
isink17 Apr 27, 2026
3c76a06
perf(export): stream unbounded DOT export via paged DISTINCT nodes + …
isink17 Apr 27, 2026
e5471d1
perf(indexer): slim existing-files map value type to drop floor cost …
isink17 Apr 27, 2026
66ffe36
perf(store/resolver): schema-back dot-tail2 path via persisted column…
isink17 Apr 27, 2026
eaf4e00
perf(store/resolver): schema-back 2-dot dot-suffix path via dot_tail3…
isink17 Apr 27, 2026
7bb3751
perf(store/indexer): defer ContentHash to lazy lookup; trim ExistingF…
isink17 Apr 27, 2026
ce540b2
docs(changelog): clarify hashLookup callback signature + error propag…
isink17 Apr 27, 2026
2626542
fix(cli,watcher,indexer,export): MR review fixups before merge
isink17 Apr 27, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .codegraphignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Repo-local ignores for codegraph indexing.
# This file uses .gitignore-like patterns and is loaded by codegraph in addition
# to config defaults.

.codegraph/**

codegraph
codegraph.exe
codegraph.sqlite*
.gotelemetry/**
.claude/**
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ codegraph.exe
codegraph.sqlite
codegraph.sqlite-shm
codegraph.sqlite-wal
OPTIMIZATIONS.md
153 changes: 94 additions & 59 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,8 @@ dist/
*.generated.go
```

Note: `.codegraph/` is always skipped by the indexer (repo-local config/artifacts).

---

## Architecture
Expand Down
9 changes: 5 additions & 4 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,14 @@ If `codegraph` is not on `PATH`, replace `command` and `args` with a form that l
By default, `codegraph` stores its database in the served repository as:

```text
codegraph.sqlite
.codegraph/codegraph.sqlite
```

If you do not want to commit the local database, ignore:

```text
codegraph.sqlite
codegraph.sqlite-shm
codegraph.sqlite-wal
.codegraph/

# Legacy location (still recognized if present):
codegraph.sqlite*
```
Loading
Loading