perf-report
Skill by ClickHouse
Analyzes ClickHouse CI performance comparison reports for a pull request. It separates real regressions and improvements from flaky tests by checking 30 days of master history. Aimed at ClickHouse developers and reviewers.
Install perf-report
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ClickHouse/ClickHouse /tmp/ClickHouse && mkdir -p ~/.claude/skills && cp -r /tmp/ClickHouse/.claude/skills/perf-report ~/.claude/skills/perf-reportRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/ClickHouse/ClickHouse /tmp/ClickHouse && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ClickHouse/.claude/skills/perf-report ~/.gemini/antigravity-cli/skills/perf-reportAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Perf Report is an agent skill published by ClickHouse. Given a pull request number or a CI report URL, it fetches performance comparison data for the AMD and ARM builds and lists every query that changed by more than 1.10x. Each change is then checked against the last 30 days of master runs in the public ClickHouse CI database.
Changes are classified as flaky, unstable, rarely on master, or new in the PR, so regressions that never appear on master stand out. When asked, the skill can also download CI artifacts, compare PR and master server logs, and use collapsed stacks and SVG flamegraphs to find the cause. It is aimed at ClickHouse developers and reviewers who need to judge whether a PR changed performance.
Written from the project's SKILL.md and checked against it.
What it can do
- Fetch PR performance dataUses fetch_perf_report.py to get TSV data for the AMD and ARM architectures.
- List all changesPresents a complete table of changes above 1.10x for each architecture, sorted by magnitude.
- Master history checkQueries default.checks on play.clickhouse.com to count slower, faster and unstable runs on master.
- Classify changesLabels each change as flaky, unstable, rarely on master, or new in this PR.
- Summary of resultsCounts genuine regressions, improvements and dismissed entries, and flags outliers above 2x.
- Server log comparisonWhen asked, downloads CI artifacts and compares the PR and master server logs.
- Flamegraph profilingBuilds CPU profiles from the report's collapsed stacks to compare PR and master.
What you need
- Python 3
- Node.js
- clickhouse client
- zstd and tar
- curl
Try asking
- Analyze the perf report for ClickHouse PR 99474
- Show all AMD changes above 1.10x for this PR with master history
- Check which slowdowns in this report are flaky on master
Good to know
- Log, artifact and flamegraph steps run only when asked.
- Trace log files are not in logs.tar.zst, so collapsed stacks from the report are used instead.
- Does not look at PR code or run local benchmarks.
- Master history comes from 30 days of public CI data.
Security check
B- Allowed to use Bash without limitsIn
SKILL.md
Checked automatically: .claude/skills/perf-report/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: BashReadGrepGlobWebFetch
-
SKILL.md10 KB
Alternatives to perf-report
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
perf-report: common questions
Does it check whether a regression is flaky?
Yes. It queries master runs over the last 30 days and labels tests that often appear as slower or unstable as flaky.
Which architectures does it cover?
It covers AMD on Intel Sapphire Rapids (m7i.4xlarge) and ARM on Graviton 4 (m8g.4xlarge), analyzed separately.
Can it analyze server logs?
When asked, it downloads CI artifacts and compares the PR server log with the master server log.
How do I install perf-report?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is perf-report free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is perf-report safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use bash without limits). Review the code before you install. How grades work.
What are alternatives to perf-report?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
