Автор: Bartlomiej Plotka
Издательство: O’Reilly Media
Год: 2022-03-01: Third Release
Формат: ePUB
Размер: 10 Mb
Язык: English
Software engineers today typically put performance optimizations low on the list of development priorities. But despite significant technological advancements and lower-priced hardware, software efficiency still matters. With this book, Go programmers will learn how to approach performance topics for applications written in this open source language.
How and when should you apply performance efficiency optimization without wasting your time? Authors Bartlomiej Plotka and Frederic Branczyk provide the tools and knowledge you need to make your system faster using fewer resources. Once you learn how to address performance in your Go applications, you'll be able to bring small but effective habits to your programming and development cycle.
This book shows you how to
Continuously monitor for performance and efficiency regressions
Find the root cause of performance bottlenecks using metrics, logging, tracing, and profiling
Use tools like pprof, go test, benchstat and k6.io to create reliable micro- and macro-benchmarks
Improve and optimize your code to meet your goals without sacrificing simplicity and readability
Make data-driven decisions by prioritizing changes that make a difference
Introduce basic "performance hygiene" in day-to-day Go programming and testing