golang-performance
Optimize Go Performance with Profiling
Go services can become slow or memory-heavy without clear evidence. This skill guides profiling, allocation analysis, concurrency tuning, and benchmark-driven optimization.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "golang-performance" from https://skillstore.io/skills/89jobrien-golang-performance.md and its manifest at https://skillstore.io/api/skills/89jobrien-golang-performance/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-performance". A Go API has high CPU usage during request bursts.
Expected outcome:
The skill produces a profiling plan, key pprof views to inspect, likely hot-path questions, and remeasurement steps.
Using "golang-performance". A batch job allocates large amounts of memory while processing strings.
Expected outcome:
The skill suggests allocation checks, builder or buffer reuse options, and benchmark measurements for before and after results.
Using "golang-performance". A team wants to review a proposed worker pool change.
Expected outcome:
The skill highlights channel sizing, lock contention, backpressure, and benchmark evidence needed before approval.
Security Audit
SafeThe static findings are false positives caused by Markdown fences, Go import blocks, local pprof URLs, and headings that contain the word avoid. No evidence found of prompt injection, secret handling, network exfiltration, or automatic command execution in SKILL.md.
Risk Factors
⚡ Contains scripts (2)
⚙️ External commands (41)
🌐 Network access (3)
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/89jobrien-golang-performance/audits/6?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/89jobrien-golang-performance?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/89jobrien-golang-performance?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/89jobrien-golang-performance/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/89jobrien-golang-performance.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
Joseph OBrien. (2026). golang-performance security audit report (audit version 6) [Author version 1.0.1]. Skillstore. https://skillstore.io/skills/89jobrien-golang-performance/audits/6BibTeX citation
@techreport{joseph-obrien-89jobrien-golang-performance-2026,
author = {Joseph OBrien},
title = {golang-performance security audit report (audit version 6)},
institution = {Skillstore},
year = {2026},
number = {6},
url = {https://skillstore.io/skills/89jobrien-golang-performance/audits/6},
note = {Author version 1.0.1}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "golang-performance security audit report (audit version 6)"
version: "1.0.1"
type: report
authors:
- name: "Joseph OBrien"
date-released: "2026-07-05"
url: "https://skillstore.io/skills/89jobrien-golang-performance/audits/6"
identifiers:
- type: other
value: "skillstore:89jobrien-golang-performance:audit:6"
description: "Skillstore immutable audit report identifier"
Compare variants
2 installable variantsEach author remains a separate installable skill. The recommended variant is ranked by Skillstore evidence.
Why this variant is first
89jobrien-golang-performance
2026-08-21
samber-golang-performance
2026-08-21
Skillstore Score
Why this score Evidence Confidence: HighWhat You Can Build
Diagnose Slow API Paths
Plan CPU and memory profiling for Go services with latency or throughput issues.
Reduce Memory Pressure
Identify allocation-heavy code paths and choose practical changes that reduce garbage collection pressure.
Review Optimization Proposals
Evaluate concurrency, data structure, and benchmark changes before merging performance work.
Try These Prompts
Use this skill to create a profiling plan for my Go service. Focus on CPU, heap, and allocation data to collect first.
Review my Go function for avoidable allocations. Suggest changes that preserve readability and explain how to benchmark them.
Analyze my worker pool and locking strategy for contention risks. Recommend measurements and safer concurrency improvements.
Compare these Go benchmark results and profile observations. Identify the likely bottleneck and propose the next experiment.
Best Practices
- Measure with profiles and benchmarks before changing performance-sensitive code.
- Optimize one bottleneck at a time, then remeasure with the same workload.
- Keep profiling endpoints local or access controlled when used outside development.
Avoid
- Optimizing code based only on intuition or style preferences.
- Applying every optimization pattern without workload evidence.
- Comparing benchmark runs from different machines, loads, or compiler settings.
Frequently Asked Questions
Does this skill run Go commands automatically?
Can it fix performance problems without profile data?
Does it support pprof workflows?
Can it help with memory leaks?
Is it only for production systems?
Which AI tools can use this skill?
Developer Details
Author
Joseph OBrienLicense
MIT
Author version
v1.0.1
Skillstore revision
r1
Ref
c4037264bbd363c572662d6154a3ab28f5ca4f53
Maintenance freshness
7/18/2026
Usage
11 downloads · 252 views
File structure
📄 SKILL.md