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.
Installer avec mon Agent
Copiez cette demande dans votre Agent. Elle contient la page Skill de référence et le manifeste.
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.Votre Agent doit toujours présenter son plan et demander toute confirmation exigée par la politique de sécurité.
Ressources lisibles par les agents
Utilisez ces liens lorsquâun Agent IA, un crawler ou un script a besoin dâun contexte propre au lieu de lire toute la page.
Tester
Utilisation de « golang-benchmark ». A candidate benchmark is three percent faster, but benchstat reports no significant difference.
Résultat attendu:
Do not claim an improvement. Increase sample quality, control environmental noise, and compare both versions under identical conditions.
Utilisation de « golang-benchmark ». A CPU profile is dominated by runtime allocation functions.
Résultat attendu:
- Rank cumulative callers to find application entry points.
- Inspect hot source lines and collect an allocation profile.
- Confirm escape behavior before changing allocation strategy.
Utilisation de « golang-benchmark ». CI benchmarks vary by ten percent between runs.
Résultat attendu:
Use a dedicated runner, run benchmarks serially, increase repetitions, and set thresholds above measured environmental variance.
Audit de sécurité
Risque moyenMost 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.
Préoccupations de sécurité confirmées (2)
ĂlĂ©ments dâĂ©valuation des capacitĂ©s (18)
Il sâagit de capacitĂ©s locales rĂ©elles qui peuvent ĂȘtre attendues pour cette compĂ©tence ; elles nĂ©cessitent donc un examen, mais ne sont pas comptabilisĂ©es comme comportement malveillant confirmĂ©.
Facteurs de risque
âïž Commandes externes (50)
đ AccĂšs rĂ©seau (27)
đ AccĂšs au systĂšme de fichiers (18)
đ Variables dâenvironnement (1)
Partager et citer ce rapport
Partagez le rapport dâĂ©valuation versionnĂ©, le badge neutre, la carte intĂ©grable et les citations. Skillstore prĂ©sente les preuves sans dĂ©cider si ce Skill est sĂ»r.
Copier le lien du rapport
https://skillstore.io/skills/samber-golang-benchmark/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportBadge Markdown
[](https://skillstore.io/skills/samber-golang-benchmark?utm_source=security_passport_badge)Badge HTML
<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>Carte intégrable
<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>Citations académiques (APA · BibTeX · CFF)
Citation APA
samber. (2026). golang-benchmark security audit report (audit version 1) [Author version 1.3.2]. Skillstore. https://skillstore.io/skills/samber-golang-benchmark/audits/1Citation BibTeX
@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"
Score Skillstore
Pourquoi ce score Niveau de confiance des preuves: MoyenCe que vous pouvez créer
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.
Essayez ces 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.
Bonnes pratiques
- 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.
Ăviter
- 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.
Foire aux 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?
Détails du développeur
Auteur
samberLicence
MIT
Version de lâauteur
v1.3.2
Révision Skillstore
r1
Réf
2aa351cb09c29b7287d263bd8ea81e9bee3b2a61
Récence de maintenance
30/09/2026
Utilisation
0 téléchargements · 0 vues
Structure de fichiers
đ evals/
đ evals.json
đ references/
đ benchstat.md
đ ci-regression.md
đ compiler-analysis.md
đ pprof.md
đ tools.md
đ trace.md
đ SKILL.md