go-perfbook is an open, work-in-progress book about writing and optimizing high-performance Go software. It begins with optimization principles that apply across programming languages before moving into Go-specific techniques. The material covers measurement workflows, data and algorithm changes, benchmarking, program tuning, garbage collection, compiler behavior, and standard-library pitfalls. Later chapters examine unsafe operations, cgo, assembly, advanced techniques, service-wide optimization, profiling, and tracing. The project emphasizes measuring real bottlenecks before changing code rather than relying on intuition. Community contributors can expand topics, add resources, and develop additional prose or examples. The book is available in English, Chinese, Spanish, and Brazilian Portuguese.

Features

  • Performance optimization workflows
  • Benchmarking and program tuning guidance
  • Garbage collection and compiler analysis
  • Go standard-library performance pitfalls
  • Profiling, tracing, cgo, and assembly topics
  • English, Chinese, Spanish, and Portuguese editions

Project Samples

Project Activity

See All Activity >

Categories

Libraries

Follow go-perfbook

go-perfbook Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of go-perfbook!

Additional Project Details

Registered

5 days ago