os threads have a fixed-size stack for saving the state
13
go memory model
14
bemchmarking preconditions
15
how to write a benchmark
16
becnhmarking two functions
17
create and run the benchmark functions
18
how to read a benchmark
19
create and run the benchmark functions
20
how to read a benchmark
21
using benchstat to compare the results
22
profiling
23
testing again...
24
... now let's analyse the faster one
25
be aware of compiler optimisations
26
best practices
27
some study references...
Description:
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.
Go Performance Unleashed - Optimizing Runtime and Memory