Skip to content

amscanne/golang-micro-benchmarks

Repository files navigation

Golang Benchmarks

This is a tiny collection of micro benchmarks.

The intent is to compare some language feature to others.

The original benchmark arose from a simple question:

Suppose a runtime parameter is dynamic, but generically fixed.

  • Is it best to build a new closure when it changes?
  • Or simply evaluate the parameter in an if, continuously?
  • Or should we write generic types, and use an interface?

Running

To run the suite, use:

go test -bench=.

About

Tiny collection of micro benchmarks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy