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
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

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.
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

2026-09-21