go-benchmark

Community

Efficient Go benchmarks with modern patterns.

Authorhay-kot
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Go benchmarking often lacks consistent patterns and repeatable measurement. This Skill provides a structured approach to writing and analyzing Go benchmarks using contemporary loops and benchstat.

Core Features & Use Cases

  • Loop-based benchmarking: Use b.Loop() for reliable timing and to avoid compiler optimizations.
  • Incremental experimentation: Compare baseline and changes to understand impact using benchstat.
  • Profiling guidance: Includes CPU/memory profiling workflows and how to interpret results to guide optimizations.
  • Real-world scenario: Normalize results across variations in data sizes and setups to inform performance decisions.

Quick Start

Run a baseline benchmark to establish a performance reference and compare subsequent changes using benchstat.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: go-benchmark
Download link: https://github.com/hay-kot/dotfiles/archive/main.zip#go-benchmark

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.