--- title: Go Performance Optimization date: 10-11-2025 last_modified: 11-11-2025:15:16 tags: - research - tech - performance --- # Go Performance ## Current Bottlenecks - Full re-index on file changes - No caching of parsed front matter ## Optimizations ### Incremental Indexing Only re-parse changed files. ### Caching ```go type Cache struct { entries map[string]*CachedEntry mu sync.RWMutex } ``` ### Profiling ```bash go test -cpuprofile=cpu.prof go tool pprof cpu.prof ```