Voltar ao ranking
dgryski/go-perfbook
Thoughts on Go performance optimization
optimizationperformanceperformance-optimizationperformance-analysis
Métricas principais
Crescimento de estrelas
Estrelas
10.9k
Forks
598
Crescimento semanal
—
Issues
6
5k10k
mai. de 2016jan. de 2018set. de 2019jun. de 2021fev. de 2023nov. de 2024jul. de 2026
README
go-perfbook
This document outlines best practices for writing high-performance Go code.
The first sections cover writing optimized code in any language. The later sections cover Go-specific techniques.
Multiple Language Versions
Table of Contents
- Writing and Optimizing Go code
- How to Optimize
- Data Changes
- Algorithmic Changes
- Benchmark Inputs
- Program Tuning
- Optimization Workflow Summary
- Garbage Collection
- Runtime and Compiler
- Unsafe
- Common gotchas with the standard library
- Alternate Implementations
- CGO
- Advanced Techniques
- Assembly
- Optimizing an Entire Service
- Tooling
- Appendix
Contributing
This is a work-in-progress book in Go performance.
There are different ways to contribute:
- add to or summarizes the resources in TODO
- add bullet points or new topics to be covered
- write prose and flesh out the sections in the book
Eventually sample programs to optimize and exercises will be needed (maybe).
Coordination will be done in the #performance channel on the Gophers slack.
Repositórios relacionados
