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

YouTube

Go Performance Unleashed - Optimizing Runtime and Memory

Conf42 via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive into a comprehensive conference talk on Go performance optimization and memory management. Explore the need for a new runtime scheduler, comparing Go's approach to Java. Understand the Go runtime scheduler, Communicating Sequential Processes (CSP), and the Go memory model. Learn how to write, run, and interpret benchmarks, including using benchstat for result comparison. Delve into profiling techniques and analyze performance differences. Gain insights on compiler optimizations and best practices for Go performance. Conclude with valuable study references to further enhance your understanding of Go performance optimization.

Syllabus

intro
preamble
about myself
agenda
first things first...
why a new runtime scheduler is needed?
a java example
the challenge
go runtime scheduler
csp communicating seq. processes
another java comparison
os threads have a fixed-size stack for saving the state
go memory model
bemchmarking preconditions
how to write a benchmark
becnhmarking two functions
create and run the benchmark functions
how to read a benchmark
create and run the benchmark functions
how to read a benchmark
using benchstat to compare the results
profiling
testing again...
... now let's analyse the faster one
be aware of compiler optimisations
best practices
some study references...

Taught by

Conf42

Reviews

Start your review of Go Performance Unleashed - Optimizing Runtime and Memory

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.