Skip to content
Back to skills

Go Performance

ASecurity

Измерение производительности Go: benchmark, pprof, аллокации, память и CPU.

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 24, 2026
developmentgobashperformance

Security analysis

A100/100

Scanned November 24, 2026

npx -y skills add justxor/golang-agent-skills-ru --skill go-performance --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Go Performance?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Go Performance
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/justxor-go-performance/badge)](https://www.skillsdirectory.com/skills/justxor-go-performance)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: go-performance
description: "Измерение производительности Go: benchmark, pprof, аллокации, память и CPU."
---

# Производительность Go
## Метод
Сначала установи метрику: ns/op, B/op, allocs/op, latency или throughput. Получи baseline. Исследуй профиль конкретного пакета. Оптимизируй один фактор и повтори измерение при тех же условиях.
```bash
go test -run='^$' -bench=. -benchmem -count=5 ./...
go test -run='^$' -bench=. -cpuprofile=cpu.out ./internal/example
go tool pprof cpu.out
```
Путь internal/example замени существующим пакетом.
Не делай вывод из одного прогона. Не заменяй читаемый код на unsafe, pooling или ручное управление памятью без доказанной пользы. Проверь корректность и гонки после оптимизации.
## Отчет
Приведи окружение, команды, результаты до/после и ограничения. Если измерить нельзя, маркируй предположение.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.