Go Performance Unleashed | Marco Marino | Conf42 Golang 2024

Conference: Conf42 Golang 2024

Year: 2024

Read the abstract ➤ https://www.conf42.com/Golang_2024_Marco_Marino_performance_memory_optimization Other sessions at this event ➤ https://www.conf42.com/golang2024 Support our mission ➤ https://www.conf42.com/support Join Discord ➤ https://discord.gg/DnyHgrC7jC Chapters 0:00 intro 0:20 preamble 0:31 about myself 1:04 agenda 1:44 first things first... 2:11 why a new runtime scheduler is needed? 3:10 a java example 3:30 the challenge 5:14 go runtime scheduler 7:07 csp (communicating seq. processes) 8:14 another java comparison 9:10 os threads have a fixed-size stack for saving the state 9:49 go memory model 11:08 bemchmarking preconditions 11:50 how to write a benchmark 12:56 becnhmarking two functions 13:49 create and run the benchmark functions 15:07 how to read a benchmark 15:25 create and run the benchmark functions 15:59 how to read a benchmark 16:43 using benchstat to compare the results 17:56 profiling 18:35 testing again... 22:19 ... now let's analyse the faster one 23:53 be aware of compiler optimisations 24:33 best practices 25:53 some study references...