Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Optimizing Go Code Without a Blindfold

Gopher Academy via YouTube

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

Reviews

Start your review of Optimizing Go Code Without a Blindfold

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.