go-testing-benchmarks

Community

Benchmark patterns for performance testing.

AuthorJamesPrial
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill demonstrates how to create stable benchmarks with b.N, sub-benchmarks, and timing control.

Core Features & Use Cases

  • Benchmark Loops: Proper usage of b.N in loops.
  • Sub-benchmarks: Group comparisons with b.Run.
  • Performance Tips: Use b.ResetTimer and capture allocations.

Quick Start

Add a basic benchmark for a function and run go test -bench=.

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-testing-benchmarks
Download link: https://github.com/JamesPrial/claudefiles/archive/main.zip#go-testing-benchmarks

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 223,000+ vetted skills library on demand.