agentleFS
AWSKnown publisherawslabs/do-agent-aws/Container-Root/agent/skills/benchmark-comparison/SKILL.md

benchmark-comparison

Skill3 starsChanged 2 days agoApache-2.0View on GitHub

Compare benchmark results before/after optimizations, generate reports, and track progress toward latency gap closure

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After running optimization benchmarks

    line 14

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Benchmark Comparison Skill

Purpose

Compare benchmark results before/after optimizations, generate reports, and track progress toward performance goals.

When to Use

  • After running optimization benchmarks
  • Comparing multiple optimization approaches
  • Tracking progress toward latency gap closure
  • Generating optimization reports

Input Format

Expects benchmark results in JSON:

{
  "optimization": "OPT_001_message_batching",
  "timestamp": "2025-01-28T12:00:00Z",
  "config": {
    "num_tokens": 128,
    "hidden_dim": 7168,
    "num_experts": 256,
    "dtype": "bfloat16"
  },
  "results": {
    "latency_us": 450.0,
    "throughput_tokens_per_sec": 284444,
    "bandwidth_gbps": 145.6,
    "cpu_util_percent": 15.2
  },
  "baseline_comparison": {
    "baseline_latency_us": 650.0,
    "improvement_percent": 30.8
  }
}

Analysis Framework

Gap Analysis

Target: Close a 30% latency gap with a reference system
Reference: ~450us
Current: ~650us
Gap: 200us (30.8%)

After OPT_001: ~520us
Remaining gap: 70us (15.5%)
Progress: 65% of gap closed

Improvement Tracking

OptimizationPredictedActualDelta
OPT_001-40%-30%-10%
OPT_002-20%-18%-2%
Cumulative-52%-43%-9%

Statistical Analysis

  • Mean latency across runs
  • Standard deviation
  • P95/P99 latency
  • Confidence intervals

Output Format

## Benchmark Comparison Report

### Summary
- **Optimization**: [name]
- **Date**: [timestamp]
- **Status**: [PASS/FAIL] (target: [X]% improvement)

### Results
| Metric | Baseline | Optimized | Change |
|--------|----------|-----------|--------|
| Latency | X us | Y us | -Z% |
| Throughput | X tok/s | Y tok/s | +Z% |
| Bandwidth | X Gbps | Y Gbps | +Z% |

### Gap Closure Progress

Reference ████████████████████ 450us Target ████████████████████████ 585us (30% gap) Before ████████████████████████████████ 650us After ██████████████████████████ 520us ├─────── Closed: 130us (65%) ───────┤


### Recommendation
[Continue with next optimization / Investigate regression / ...]
<!-- imported on 2026-10-31 by tools/import-skills.py from a native Claude Code instance's skill library; the source site's names, ids, hosts and paths are scrubbed to <placeholders>; its other files were not copied -->

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.