Go Performance Unleashed - Optimizing Runtime and Memory
Offered By: Conf42 via YouTube
Course Description
Overview
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
Related Courses
Concurrency in GoUniversity of California, Irvine via Coursera Go Essential Training
LinkedIn Learning Concurrency in Go (Golang)
Udemy Go Language Overview Course (How To)
Treehouse Concurrent Programming with Go
Pluralsight