Wrapping Up
In this chapter, you used several tools provided by Go to measure and analyze the performance of your programs. You started by developing a tool that processes content from CSV files. You used benchmarks to measure its speed. Then you used the profiler to look for bottlenecks. You iteratively improved the tool by using the results of the profiler and tracer tools. You developed a new version of the tool that processes files concurrently. Finally, you used the same techniques to analyze this version and made improvements to run the code more efficiently across the available CPUs.
In the next chapter, you’ll design tools that execute external commands and capture their output. You’ll interact with system processes. You’ll use some ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access