perf-comparison
Skill by ClickHouse
Evaluates ClickHouse performance test results from performance.ci dashboard data or local perf.py runs. It is for maintainers checking whether a PR's performance change is real, flaky, or already known.
Install perf-comparison
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-comparison ~/.claude/skills/perf-comparisonRun 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-comparison ~/.gemini/antigravity-cli/skills/perf-comparisonAntigravity 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-comparison is an agent skill for judging ClickHouse performance results. It answers whether a result is real, flaky or noisy, already known from history, or worth deeper investigation. It works from the performance.ci API and dashboard, ClickHouse Play master status counts, CI artifacts, and local perf.py runs, using whichever evidence is available.
The skill follows a set of rules. It inventories changed slowdowns, speedups and noisy rows for a PR, checks repeated runs, confidence, and master history, and compares metrics and architectures without mixing them. It also checks whether the PR touches code the test covers. It is aimed at ClickHouse developers and reviewers who need a clear, report-ready verdict on a performance change.
Written from the project's SKILL.md and checked against it.
What it can do
- PR inventoryLists changed slowdowns, speedups and high-noise rows for a PR with confidence data.
- Run listingLists performance.ci runs for a given pull request.
- Master status checksCounts 30-day master status of the same test and query as slower, faster or unstable.
- Query inspectionShows one query's trend, history, coverage overlap and flamegraph diff.
- Query historyCompares one test, query, metric and arch across all dashboard runs for a PR.
- Changes summarySummarizes the changed metrics for a single performance.ci run.
- Coverage relevanceChecks whether the PR touched code executed by a performance test.
- Local perf.py parsingParses local tests/performance/scripts/perf.py output into a readable table.
- Local test runsGuides running perf.py against old and new ClickHouse servers or binaries.
What you need
- Python 3
- curl and jq for performance.ci API calls
- GitHub CLI (gh) for the PR diff fallback
- ClickHouse old and new binaries for local server comparisons
Try asking
- Check whether the changed rows in PR 104350 are real or noise.
- Show the 30-day master status for this test and query on performance.ci.
- Parse my local perf.py output and tell me if the result is actionable.
Good to know
- Local perf.py runs are validation evidence and are not CI-equivalent.
- Missing flamegraph data is absence of evidence, not proof of noise.
- The skill does not file issues, comment on PRs or edit source unless explicitly asked.
- Coverage overlap supports the verdict but does not replace measurements.
Security check
B- Allowed to use Bash without limitsIn
SKILL.md
Checked automatically: .claude/skills/perf-comparison/SKILL.md, .claude/skills/perf-comparison/scripts/local_servers.sh, .claude/skills/perf-comparison/scripts/parse_perf_py.py, .claude/skills/perf-comparison/scripts/perf_api.py, .claude/skills/perf-comparison/scripts/test_perf_api.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: BashReadGrepGlobWebFetch
-
SKILL.md15 KB -
references/ci-api.md9 KB -
references/local-perf.md8 KB -
references/verdict-rules.md7 KB -
scripts/local_servers.sh5 KB
Show all 8 files
-
scripts/parse_perf_py.py6 KB -
scripts/perf_api.py60 KB -
scripts/test_perf_api.py4 KB
Alternatives to perf-comparison
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-comparison: common questions
Does this skill change anything on GitHub?
No. The source says it never files issues, comments on PRs or edits source unless explicitly asked.
Can it run ClickHouse performance tests locally?
Yes. It uses perf.py against two already-running servers, or starts them from explicit old and new binary paths, and recommends release or static builds.
What data sources does it use?
It uses the performance.ci API and dashboard first, then ClickHouse Play default.checks for master status, then CI artifacts and local perf.py runs when needed.
How do I install perf-comparison?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is perf-comparison free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is perf-comparison safe to use?
It scores 89 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-comparison?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
