Files
personotes/notes/research/tech/go-performance.md
2025-11-12 09:31:09 +01:00

661 B

title, date, last_modified, tags
title date last_modified tags
Go Performance Optimization 10-11-2025 11-11-2025:18:28
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

type Cache struct {
    entries map[string]*CachedEntry
    mu      sync.RWMutex
}

Profiling

go test -cpuprofile=cpu.prof
go tool pprof cpu.prof

Poppy Test