Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Go
  3. go-benchmarks

go-benchmarks

Apache-2.0Go

A collection of miscellaneous Go microbenchmarks used for performance analysis and optimization.

GitHubGitHub
149 stars23 forks0 contributors

What is go-benchmarks?

go-benchmarks is a collection of Go microbenchmarks that illustrate performance characteristics and optimization techniques in Go programming. It provides concrete benchmarks to measure and compare different implementation approaches, serving as a practical resource for understanding and improving Go code performance.

Target Audience

Go developers looking to understand performance nuances, optimize existing code, or learn benchmarking best practices through real-world examples.

Value Proposition

Developers choose this for its direct connection to the educational article 'So You Wanna Go Fast?', offering actionable benchmarks that demonstrate common performance pitfalls and optimization strategies in Go.

Overview

A few miscellaneous Go microbenchmarks.

Use Cases

Best For

  • Comparing performance of different Go implementation approaches for common tasks
  • Learning optimization techniques through practical, runnable benchmark examples
  • Understanding performance characteristics of Go code in microbenchmark scenarios
  • Referencing benchmarks discussed in the 'So You Wanna Go Fast?' article
  • Analyzing performance pitfalls and optimization strategies in Go applications
  • Educational purposes for developers studying Go performance and benchmarking

Not Ideal For

  • Teams needing automated, continuous integration benchmarking for regression detection
  • Projects focused on end-to-end or macro-level performance testing rather than micro-optimizations
  • Developers seeking comprehensive benchmarks for a wide range of Go libraries or frameworks
  • Applications requiring up-to-date benchmarks for the latest Go versions, given potential staleness

Pros & Cons

Pros

Educational Article Tie-in

Directly references the well-known article 'So You Wanna Go Fast?', providing context and real-world examples that enhance learning for Go developers.

Practical Benchmark Examples

Offers runnable Go microbenchmarks that illustrate specific performance characteristics, allowing hands-on experimentation with optimization techniques.

Focus on Optimization

Demonstrates common performance pitfalls and optimizations, helping developers understand how to write efficient Go code through concrete comparisons.

Clear Performance Comparisons

Benchmarks compare different implementation approaches, making it easy to see the impact of changes on code performance in Go.

Cons

Limited Documentation

The README is minimal, with only a link to the article, lacking setup instructions, guidance on running benchmarks, or interpreting results.

Narrow Scope

Focuses solely on microbenchmarks from a single article, missing broader performance scenarios, real-world applications, or benchmarks for newer Go features.

Potential Staleness

Tied to a specific article from 2016, it may not reflect current Go best practices, versions, or performance improvements, limiting its relevance.

Frequently Asked Questions

Quick Stats

Stars149
Forks23
Contributors0
Open Issues2
Last commit10 years ago
CreatedSince 2016

Tags

#performance-analysis#golang#microbenchmarks#benchmarking#optimization#go

Built With

G
Go

Included in

Go169.1k
Auto-fetched 5 hours ago

Related Projects

go-web-framework-benchmarkgo-web-framework-benchmark

:zap: Go web framework benchmark

Stars2,132
Forks224
Last commit3 months ago
go-http-routing-benchmarkgo-http-routing-benchmark

Go HTTP request router and web framework benchmark

Stars1,658
Forks241
Last commit3 years ago
go_serialization_benchmarksgo_serialization_benchmarks

Benchmarks of Go serialization methods

Stars1,625
Forks159
Last commit1 year ago
skynetskynet

Skynet 1M threads microbenchmark

Stars1,059
Forks119
Last commit3 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub