Benchmark Go performance with Sweet and Benchstat
Introduction
Overview
Launch an Arm-based c4a-standard-4 instance
Launch an Intel Emerald Rapids c4-standard-8 instance
Install Go, Sweet, and Benchstat
Benchmark types and metrics
Manually run benchmarks
Manually run Benchstat
Install the automated benchmark and Benchstat runner
Run the automated benchmark and Benchstat runner
Next Steps
Benchmark Go performance with Sweet and Benchstat
Introduction
Overview
Launch an Arm-based c4a-standard-4 instance
Launch an Intel Emerald Rapids c4-standard-8 instance
Install Go, Sweet, and Benchstat
Benchmark types and metrics
Manually run benchmarks
Manually run Benchstat
Install the automated benchmark and Benchstat runner
Run the automated benchmark and Benchstat runner
Next Steps
Who is this for?
This introductory topic is for developers who want to measure and compare the performance of Go applications on Arm-based servers.
What will you learn?
Upon completion of this Learning Path, you will be able to:
- Provision Arm64 and x86_64 VM instances on Google Cloud
- Install Go, Sweet, and Benchstat on each VM instance
- Run benchmarks and use Benchstat to compare Go application performance across architectures
Prerequisites
Before starting, you will need the following:
- A Google Cloud account . This Learning Path can be run on any cloud provider or on-premises, but it focuses on Google Cloud’s Axion Arm64-based instances.
- A local machine with Google Cloud CLI installed