perf-compare-cudf
Skill9.8k starsChanged 4 months agoApache-2.0View on GitHub
Benchmark a cuDF branch, WIP changes, or a PR against the `main` branch
Trending
Quiet since October.thin dataabout the whole repository
Who's talking about NVIDIA/cudf
- NVIDIA/cudf-spark-jni“[submodule-sync] bot-submodule-sync-main to main [skip ci] [bot]”GitHub · Oct 5, 2026 · 1 reactions
- NVIDIA/cudf-spark-jni“[submodule-sync] bot-submodule-sync-main to main [skip ci] [bot]”GitHub · Oct 4, 2026 · 1 reactions
- NVIDIA/cudf-spark-jni“[submodule-sync] bot-submodule-sync-main to main [skip ci] [bot]”GitHub · Oct 2, 2026 · 1 reactions
- NVIDIA/cudf-spark-jni“[submodule-sync] bot-submodule-sync-release/26.10 to release/26.10 [skip ci] [bot]”GitHub · Oct 1, 2026 · 1 reactions
- NVIDIA/cudf-spark-jni“[submodule-sync] bot-submodule-sync-main to main [skip ci] [bot]”GitHub · Oct 1, 2026 · 1 reactions
The biggest 5 of 9 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 9
Talked about on GitHub (9 times).
On GitHub · 9
- Oct 5, 2026[submodule-sync] bot-submodule-sync-main to main [skip ci] [bot] — NVIDIA/cudf-spark-jni1 reaction · 3 comments
- Oct 4, 2026[submodule-sync] bot-submodule-sync-main to main [skip ci] [bot] — NVIDIA/cudf-spark-jni1 reaction · 3 comments
- Oct 2, 2026[submodule-sync] bot-submodule-sync-main to main [skip ci] [bot] — NVIDIA/cudf-spark-jni1 reaction · 3 comments
- Oct 1, 2026[submodule-sync] bot-submodule-sync-release/26.10 to release/26.10 [skip ci] [bot] — NVIDIA/cudf-spark-jni1 reaction · 3 comments
- Oct 1, 2026[submodule-sync] bot-submodule-sync-main to main [skip ci] [bot] — NVIDIA/cudf-spark-jni1 reaction · 3 comments
4 more on GitHub
- Oct 1, 2026Seed pre-commit cache from main builds — rapidsai/cugraph-gnn1 reaction · 2 comments
- Oct 1, 2026[submodule-sync] bot-submodule-sync-main to main [skip ci] [bot] — NVIDIA/cudf-spark-jni1 reaction · 3 comments
- Sep 30, 2026[submodule-sync] bot-submodule-sync-main to main [skip ci] [bot] — NVIDIA/cudf-spark-jni1 reaction · 3 comments
- Sep 22, 2026Support cached broadcast semi/anti joins via reusable FilteredJoin [databricks] — NVIDIA/cudf-spark1 reaction · 5 comments
In this repository9 other files it gives its agents.
- build-test-cudf-javaSkill
- build-test-cudfSkill
- debug-cudf-pandasSkill
- reproduce-ciSkill
- review-cudf-polars-expressionsSkill
- review-cudfSkill
- update-narwhals-testingSkill
- accelerated-computing-cudfSkill
- cudf-query-engine-builderSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 4 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 6
Use this skill when the user asks to compare libcudf benchmark performance for:
- Very specific: line 12
Run the same selected libcudf NVBench benchmarks on the target (current WIP or cudf PR) and then on NVIDIA/cudf main, then report …
- Very specific: line 23
Ensure we are in the cudf devcontainer (username coder).
- Distinctive: line 28
Run order: Target side first, then main.
- Very specific: line 51
If needed, refer to the build-test-cudf skill for instructions and troubleshooting.
- Very specific: line 72
Run on one masked device only: CUDA_VISIBLE_DEVICES=<idx> and -d 0.
- Very specific: line 73
Write target JSON and log files under benchmark_compare/<ts>/target/, for example:
- Distinctive: line 79
If nvbench emits an end-of-suite segfault after writing results, note it and continue.
- Very specific: line 88
Do not apply any WIP or target changes on _bench_main.
- Very specific: line 92
Follow configure, build and benchmark run steps as for the target.
- Distinctive: line 96
Use NVBench's comparison script from the build tree:
- Very specific: line 113
Use the below template for COMPARISON.md, adapting the metric columns to the benchmark.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Use this skill when the user asks to compare libcudf benchmark performance for:
- the current branch or WIP changes against
NVIDIA/cudfmain. - a cudf PR link or number against
NVIDIA/cudfmain.
Goal
Run the same selected libcudf NVBench benchmarks on the target (current WIP or cudf PR) and then on NVIDIA/cudf main, then report meaningful differences.
<cudf-remote> is the git remote for https://github.com/NVIDIA/cudf (often upstream). Detect it with git remote -v.
Prerequisites
- For PR targets,
ghCLI authenticated — rungh auth status. If not authenticated, guide the user to run:
The token needsgh auth loginreposcope. Do not rungh auth tokenfrom within the agent. - Ensure we are in the cudf devcontainer (username
coder). If not, stop and ask the user for instructions.
1. Prepare
- Record the starting branch,
git status --short, and the exact target (current WIP or cudf PR). - Run order: Target side first, then
main. - Record current timestamp as
ts = <YYYYMMDD_HHMMSS> - Create result directories:
mkdir -p benchmark_compare/<ts>/{target,main}
2. Build Target
- For current-branch or WIP targets: keep target changes applied for the target run.
- For PR targets: Stash any unrelated local changes, record the stash name, and check out the PR:
gh pr checkout <PR_NUMBER> --repo NVIDIA/cudf - For PR targets: After switching, check if the PR branch is behind
<cudf-remote>/mainand add a merge commit. DO NOT push anything. If there are merge conflicts, stop and guide the user to fix them. - On the first build for a checkout, force CMake reconfiguration to enable benchmarks:
configure-cudf-cpp -DBUILD_BENCHMARKS=ON
build-cudf-cpp- Re-run
configure-cudf-cpp -DBUILD_BENCHMARKS=ONif the build directory is cleaned or CMake options may have changed. - If needed, refer to the
build-test-cudfskill for instructions and troubleshooting.
3. Choose Benchmarks
- Fetch current main with
git fetch <cudf-remote> main. - Infer candidate benchmark suites from:
git diff --name-only <cudf-remote>/main...HEAD - Benchmark binaries live under
cpp/build/latest/benchmarks/*_NVBENCH. - Inspect candidate binaries from the target build:
cpp/build/latest/benchmarks/<BENCH> --list cpp/build/latest/benchmarks/<BENCH> --help-axes - Confirm benchmark binaries and axis coverage with the user. Use a small, representative axis subset by default; use full coverage only when requested or necessary.
- Record exact
-band-aoptions. Reuse them unchanged on both branches.
4. Run Target
- Pick an idle GPU with
nvidia-smi. Do this every time before running anything (target or main run); if the same GPU is no longer idle, pick another one, wait, or ask before continuing. - Run on one masked device only:
CUDA_VISIBLE_DEVICES=<idx>and-d 0. - Write target JSON and log files under
benchmark_compare/<ts>/target/, for example:CUDA_VISIBLE_DEVICES=<idx> cpp/build/latest/benchmarks/<BENCH> -d 0 \ -b <bench_name> -a <axis=...> ... \ --json benchmark_compare/<ts>/target/<BENCH>.json 2>&1 | tee benchmark_compare/<ts>/target/<BENCH>.log - If nvbench emits an end-of-suite segfault after writing results, note it and continue. If a config throws, verify that both branches (main and target) behave the same.
5. Switch over to main
- To switch to main, stash any target WIP if needed, record the stash name, and use a clean branch:
git fetch <cudf-remote> main git checkout -B _bench_main <cudf-remote>/main - Do not apply any WIP or target changes on
_bench_main.
6. Build and run main
Follow configure, build and benchmark run steps as for the target. Run the same set of benchmarks chosen above, but write JSON and log files to benchmark_compare/<ts>/main/ instead.
7. Compare
Use NVBench's comparison script from the build tree:
NVBENCH_SCRIPTS=cpp/build/latest/_deps/nvbench-src/python/scripts
test -f "$NVBENCH_SCRIPTS/nvbench_compare.py" || \
NVBENCH_SCRIPTS=cpp/build/latest/_deps/nvbench-src/scripts
PYTHONPATH="$NVBENCH_SCRIPTS" python "$NVBENCH_SCRIPTS/nvbench_compare.py" \
--threshold-diff 0.05 --no-color benchmark_compare/<ts>/main benchmark_compare/<ts>/target \
| tee benchmark_compare/<ts>/COMPARISON.md- The first path is the reference (
main), the second is the comparison (target). Re-run surprising failures once, especially small or noisy configs.
8. Restore and report
- Return to the starting branch/state, pop any stash you created, delete temporary branches, and confirm
git statusmatches the starting state. - Remember to note if there were any end-of-suite segfaults or config throws and if the behavior was the same on both branches.
- Use the below template for
COMPARISON.md, adapting the metric columns to the benchmark. GPU time is always useful, but other metrics such as output file size, throughput, compression ratio, or memory usage are also of interest when they change significantly in target vs main. Summarize chat with the headline result (regression, improvement, or within noise), relevant metrics, hardware used, branch SHAs, axis coverage, the summary table from the template, and generated files.
# Benchmark Comparison: <cudf-remote>/main vs target (`WIP` or `PR`) - Primary metric(s): <GPU time, throughput, output size, memory, etc.> - Δ = (target - main) / main. Interpret direction per metric. - Significant timing deltas: |Δ| >= 5% AND larger than max(noise) of either side. - Hardware: <GPU name + index from nvbench/nvidia-smi>, driver/CUDA if available. <CPU name + cores from `lscpu`>, model, architecture, if available. - Branches: target `<sha>` vs main `<sha>`. Axis coverage: <skim|full> (list values used). ## Summary | Benchmark Suite | Primary metric | # Configs | # Meaningful Changes | | ... | ## Top N Changes | Suite / bench | axes | metric | main | target | Δ | noise, if timing | | ... | ## Per-suite tables (one table per benchmark, axes as columns, include all relevant metrics) ## Notes - Exceptions excluded (same on both branches): ... - End-of-suite segfaults ignored. - Files generated: list of JSON/log paths + this report
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

