Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Go: Performance Tuning and Benchmarking

Go: Performance Tuning and Benchmarking

35mIntermediate2023-12-19

Authors

Ayan George

Ayan George

Course details

If you’re an intermediate Go developer, you probably already know that benchmarking is crucial for ascertaining and maintaining the performance of your program. In this course, join instructor Ayan George to take your skills to the next level and become a performance tuning and benchmarking MVP. Explore the basics of using the Go test tool and navigating the structure of a benchmark as well as how to manage the benchmark timer, clean up with b.Cleanup(), and use table-driven and parallel benchmarks. Along the way, Ayan covers some of the pitfalls of benchmarking that can compromise overall accuracy.

Skills covered

GoData Resource ManagementDatabase ManagementGoogleProgramming LanguagesSoftware DevelopmentOne-Off

Concepts

0. Introduction

  • 01 - Be a Go benchmarking MVP
  • 02 - How to use GitHub Codespaces with this course

1. Benchmarking Basics

  • 03 - What is benchmarking
  • 04 - Using the Go test tool
  • 05 - How does benchmarking work In Go
  • 06 - The structure of a benchmark

2. Managing the Benchmark Timer

  • 07 - Managing the benchmark timer
  • 08 - Cleaning up with b.Cleanup()
  • 09 - Table-driven benchmarks
  • 10 - Parallel benchmarks

3. Benchmarking Pitfalls Ensuring Benchmark Accuracy

  • 11 - Inlined functions
  • 12 - Forgetting iterate
  • 13 - Bad wall to elapsed time ratio
  • 14 - Challenge - Optimizing trace ID generation
  • 15 - Solution - Optimizing trace ID Generation

4. Comparing Benchmarks

  • 16 - Using Benchstat

Conclusion

  • 17 - Next steps

Related courses

Related learn paths

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
zarinpal
zibal