golang-benchmark
Measure and Diagnose Go Performance
Go performance work often fails because benchmarks are noisy or profiles are misread. This skill provides a rigorous workflow for measurement, comparison, and diagnosis.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "golang-benchmark" from https://skillstore.io/skills/samber-golang-benchmark.md and its manifest at https://skillstore.io/api/skills/samber-golang-benchmark/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "golang-benchmark". A candidate benchmark is three percent faster, but benchstat reports no significant difference.
Expected outcome:
Do not claim an improvement. Increase sample quality, control environmental noise, and compare both versions under identical conditions.
Using "golang-benchmark". A CPU profile is dominated by runtime allocation functions.
Expected outcome:
- Rank cumulative callers to find application entry points.
- Inspect hot source lines and collect an allocation profile.
- Confirm escape behavior before changing allocation strategy.
Using "golang-benchmark". CI benchmarks vary by ten percent between runs.
Expected outcome:
Use a dedicated runner, run benchmarks serially, increase repetitions, and set thresholds above measured environmental variance.
Security Audit
Medium RiskMost alerts are lexical false positives caused by Markdown, localhost examples, and profiling terminology. Confirmed risks include privileged CPU controls, token delegation, and an unauthenticated all-interface trace viewer. Semantic review also found insecure TLS guidance and an unpinned tool installation.
Confirmed security concerns (2)
Capability review items (18)
These are real local capabilities that may be expected for this skill, so they require review but are not counted as confirmed malicious behavior.
Risk Factors
โ๏ธ External commands (50)
๐ Network access (27)
๐ Filesystem access (18)
๐ Env variables (1)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/samber-golang-benchmark/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/samber-golang-benchmark?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/samber-golang-benchmark?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/samber-golang-benchmark/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/samber-golang-benchmark.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
samber. (2026). golang-benchmark security audit report (audit version 1) [Author version 1.3.2]. Skillstore. https://skillstore.io/skills/samber-golang-benchmark/audits/1BibTeX citation
@techreport{samber-samber-golang-benchmark-2026,
author = {samber},
title = {golang-benchmark security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/samber-golang-benchmark/audits/1},
note = {Author version 1.3.2}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "golang-benchmark security audit report (audit version 1)"
version: "1.3.2"
type: report
authors:
- name: "samber"
date-released: "2026-09-23"
url: "https://skillstore.io/skills/samber-golang-benchmark/audits/1"
identifiers:
- type: other
value: "skillstore:samber-golang-benchmark:audit:1"
description: "Skillstore immutable audit report identifier"
Skillstore Score
Why this score Evidence Confidence: MediumWhat You Can Build
Validate an Optimization
Create repeatable before-and-after benchmarks and decide whether measured changes are statistically significant.
Diagnose Production Latency
Correlate runtime metrics with CPU, memory, goroutine, and trace evidence to identify expensive paths.
Prevent CI Regressions
Establish benchmark baselines, practical thresholds, and controlled runner settings for pull request checks.
Try These Prompts
Write a Go benchmark for [function]. Exclude setup time, report allocations, and use representative inputs.
Compare these baseline and candidate benchmark results. Explain significance, noise, allocation changes, and whether the optimization is supported.
Analyze this [CPU or memory] profile summary. Identify likely application callers and recommend focused pprof commands for confirmation.
Design a CI benchmark gate for [repository]. Include baseline handling, sample counts, thresholds, runner controls, permissions, and failure investigation.
Best Practices
- Compare versions on the same toolchain, hardware, workload, and runner configuration.
- Collect multiple samples and use statistical results before making performance claims.
- Preserve benchmark context, profile type, build identity, and hardware details with every result.
Avoid
- Do not approve an optimization from one benchmark run or a nonsignificant result.
- Do not run competing benchmarks concurrently on shared processors.
- Do not expose profiling or trace endpoints without authentication and network restrictions.
Frequently Asked Questions
Does this skill write Go benchmarks?
Can it interpret benchstat output?
Which profiles does it cover?
Can it diagnose production issues?
Does it support CI regression detection?
Does system tuning require administrator access?
Developer Details
Author
samberLicense
MIT
Author version
v1.3.2
Skillstore revision
r1
Ref
2aa351cb09c29b7287d263bd8ea81e9bee3b2a61
Maintenance freshness
9/30/2026
Usage
0 downloads ยท 0 views
File structure
๐ evals/
๐ evals.json
๐ references/
๐ benchstat.md
๐ ci-regression.md
๐ compiler-analysis.md
๐ pprof.md
๐ tools.md
๐ trace.md
๐ SKILL.md