랭킹으로 돌아가기
dgryski/go-perfbook
Thoughts on Go performance optimization
optimizationperformanceperformance-optimizationperformance-analysis
주요 지표
스타 성장
스타
10.9k
포크
598
주간 성장
—
이슈
6
5k10k
2016년 5월2018년 1월2019년 9월2021년 6월2023년 2월2024년 11월2026년 7월
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.
관련 저장소
