Golang tips to improve performance: benchmark, profiling, escape analysis, tracer

Golang tips to improve performance: benchmark, profiling, escape analysis, tracer

HomeTech with Satyajit DasGolang tips to improve performance: benchmark, profiling, escape analysis, tracer
Golang tips to improve performance: benchmark, profiling, escape analysis, tracer
ChannelPublish DateThumbnail & View CountDownload Video
Channel AvatarPublish Date not found Thumbnail
0 Views
This video contains quick tips and commands to improve the performance of Go programs. These include:
Benchmark – To know how long it takes and how the memory is allocated
Profiling – For CPU-level throughput information
Escape Analysis – For Heap Allocation
Tracer – For scheduler-level latency information

Link to article: https://tennexas.com/how-to-check-improve-performance-in-go/

0:00 Introduction
0:30 Build (go to “Build” ./…)
1:03 Test (go to test./…)
2:00 Benchmark
5:28 Escape analysis
7:03 CPU profiling
9:00 Tracer
11:41 Tracer vs. profiling

If you want a detailed tutorial on Docker & Kubernetes as well as gRPC with complete explanations from start to finish then check out this course on Microservices: https://www.justforlearning.com/courses/build-your-first-microservices-based-app-using-go-grpc-kubernetes-docker

This is not free, but if you are a student or can't afford it, write an email to [email protected] and explain why. I will be able to offer it to you for free. But on the condition that you complete the course completely within a month. 🙂

Please take the opportunity to connect with your friends and family and share this video with them if you find it useful.