Overview
Explore techniques and tools for optimizing Go code in this 37-minute conference talk from GopherCon 2019. Learn why making code faster requires careful consideration, and discover the complexities involved in proper program optimization. Gain insights into measuring variance, understanding CPU usage and throttling, dealing with multiple testing problems, and leveraging compiler improvements. Dive into practical examples, including JSON benchmarks and code decoder demonstrations, while picking up valuable tips and tricks for performance enhancement. Understand the importance of Go environment variables and readme files in the optimization process.
Syllabus
Intro
Simple example
JSON benchmark
The biggest problem
Math or Statistics
Measure Variance
Idle
CPU Usage
Laptops
Laptop Throttle
Air Vents
PerfLock
Questions
Visual Aid
Multiple Testing Problem
CPU Load
CPU Tools
Tips Tricks
Compiler Improvements
File Bugs
Performance
Go Environment Variable
Readme Files
Demo
Code Decoder Benchmark
Code Decoder Graph
Index Map
JSON Map
Taught by
Gopher Academy