Skip to main content
Back to course
Log in
Get started
Someone wanted to learn this too, so Grasp built them a personal learning path.
Create your own
Golang
·
Module 1
Trustworthy Performance Baselines
1
Table-Driven Tests for Preserving Optimized Code Behavior
Write table-driven tests that preserve the behavior of code selected for optimization.
2
Benchmarking Go Code Without Setup and Teardown Time
Write a Go benchmark that excludes setup and teardown work from its timing.
3
Benchmarking HTTP Handlers with net/http/httptest
Benchmark an HTTP handler in memory with the net/http/httptest package.
4
Benchmarking a CLI’s Core with In-Memory I/O
Benchmark the processing core of a CLI using in-memory input and output.
5
Ensuring Reliable Benchmarks Against Dead-Code Elimination and Input Reuse
Prevent dead-code elimination and input reuse from invalidating benchmark results.
6
Measuring Time and Allocations per Operation in Go Benchmarks
Measure time and allocations per operation with Go's benchmark reporting.
7
Statistical Comparison of Repeated Benchmarks with benchstat
Compare repeated benchmark results statistically with benchstat.
Next module isn't ready yet,
Back to course
Previous module
Next module