High Performance Go is an educational repository focused on writing faster and more memory-efficient Go programs. It teaches developers how to measure performance before attempting optimization. Benchmarking and pprof are used to identify bottlenecks and compare implementation choices. The material examines strings, slices, loops, reflection, empty structs, and memory alignment. It also explores concurrency performance through mutexes, goroutine control, sync.Pool, sync.Once, and sync.Cond. Additional chapters cover compiler optimization, escape analysis, dead-code elimination, binary size, and common Go traps.
Features
- Go benchmarking and performance measurement
- pprof profiling and bottleneck analysis
- Data structure performance optimization
- Memory alignment and allocation guidance
- Concurrency and synchronization optimization
- Compiler behavior and escape analysis
Categories
LibrariesLicense
MIT LicenseFollow high-performance-go
Other Useful Business Software
Ship Agents Faster
Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of high-performance-go!