Automating Efficiency of Go programs with Profile-Guided Optimizations

2025-03-13 UberBlog 0
Featured image for Automating Efficiency of Go programs with Profile-Guided Optimizations
Image
Figure 1: PGO in a continuous optimization framework.
Image
Figure 2: Profiling infrastructure for PGO. 
Image
Figure 3: Timing breakdown for PGO compilation passes.
Image
Figure 4: PGO profile preprocessing architecture.
Image
Figure 5: Performance benchmark of PGO on go-json.
Image
Figure 7: Call graph of checkValid function.
Image
Figure 8: Performance comparison of PGO on Tally benchmark suite. 
Image
Figure 9: CPU core allocation count for top 6 services of 5 months.
Image
Figure 10a: Profile collected during baseline binary execution.
Image
Figure 10b: Profile collected during PGO binary execution.