Skip to content

Commit 772431f

Browse files
committed
docs: multi-repo benchmark results
Benchmarked 6 major repositories across Go, TypeScript, JavaScript, Python: - 43,403 files parsed, 335,367 functions, 70,918 types - Fastest: django (475 files/sec), react (467 files/sec) - Largest: kubernetes (12,615 files, 70.4s)
1 parent 5881069 commit 772431f

1 file changed

Lines changed: 11 additions & 16 deletions

File tree

‎README.md‎

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -191,25 +191,20 @@ func main() {
191191

192192
## Performance
193193

194-
### Benchmark: [Kubernetes](https://github.com/kubernetes/kubernetes)
194+
### Real-world Benchmarks
195195

196-
**12,608 Go files · 3.5M lines of code · 326MB repo**
196+
Tested on popular open-source repositories (single run, `--no-cache`, default concurrency):
197197

198-
| Run | Files | Duration | Throughput |
199-
|---|---|---|---|
200-
| Full parse | 12,615 | **72.6s** | 174 files/sec |
201-
| Incremental (no changes) | 0 parsed, 12,615 skipped | **1.56s** | **46x faster** ⚡ |
198+
| Repository | Language | Files | Functions | Types | Duration | Files/sec | Output |
199+
|---|---|---|---|---|---|---|---|
200+
| [kubernetes/kubernetes](https://github.com/kubernetes/kubernetes) | Go | 12,615 | 104,925 | 18,165 | **70.4s** | 179 | 69 MB |
201+
| [golang/go](https://github.com/golang/go) | Go | 10,302 | 89,294 | 17,999 | **57.3s** | 180 | 55 MB |
202+
| [microsoft/vscode](https://github.com/microsoft/vscode) | TypeScript | 10,002 | 31,640 | 16,404 | **59.1s** | 169 | 44 MB |
203+
| [facebook/react](https://github.com/facebook/react) | JS/TS | 4,345 | 12,885 | 535 | **9.3s** | 467 | 18 MB |
204+
| [tensorflow/tensorflow](https://github.com/tensorflow/tensorflow) | Python/Go | 3,194 | 64,695 | 6,864 | **125.9s** | 25 | 25 MB |
205+
| [django/django](https://github.com/django/django) | Python/JS | 2,945 | 31,928 | 10,951 | **6.2s** | 475 | 15 MB |
202206

203-
### Output
204-
205-
| Metric | Value |
206-
|---|---|
207-
| Markdown files generated | 12,614 |
208-
| Functions extracted | 104,922 |
209-
| Types extracted | 18,164 |
210-
| Output size | 69 MB |
211-
| Cache size | 2.9 MB |
212-
| `index.md` | 18,777 lines |
207+
> **Total**: 43,403 files parsed · 335,367 functions extracted · 70,918 types · 226 MB of structured documentation
213208
214209
### Micro-benchmarks (50 files)
215210

0 commit comments

Comments
 (0)