Go Performance Unleashed - Optimizing Runtime and Memory
Offered By: Conf42 via YouTube
Course Description
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
Related Courses
استخدام وإدارة المؤشرات في لغة البرمجة سيCoursera Project Network via Coursera Approfondimento sulla sicurezza dei container (Italiano) | Deep Dive on Container Security (Italian)
Amazon Web Services via AWS Skill Builder Aspectos básicos de PostgreSQL: arquitectura (Español LATAM) | PostgreSQL Fundamentals: Architecture (LATAM Spanish)
Amazon Web Services via AWS Skill Builder Computer Memory
Brilliant Building Objects in C
University of Michigan via Coursera