agentleFS
IvMisticosIvMisticos/misticos.Claude/skills/benchmark/SKILL.md

benchmark

Skill3 starsChanged 2 months agoMITView on GitHub

Where the `queue` command exists, run every benchmark, profiler run, load test or other timing measurement as `queue bench --` followed by the command in the background, never directly. Run builds and tests through dotnet, cargo, bun and uv in the background too, one at a time, because each waits for a free build slot that other agents share. The queue gives each measurement its own CPU cores, so builds from other agents don't skew the numbers.

108 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ios-fix, ios-sync and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Saqlain-811Skill

    ios-fix

    Autonomous iOS bug fixer. (gstack)

    Also in 6 projects that use this

  • Saqlain-811Skill

    ios-sync

    Regenerate the iOS debug bridge against the latest upstream gstack templates. (gstack)

    Also in 6 projects that use this

  • ShreyRaviSkill

    landing-report

    Read-only queue dashboard for workspace-aware ship. Shows which VERSION slots are currently claimed by open PRs, which sibling Conductor workspaces have WIP work likely to ship soon, and what slot /ship would pick next. No mutations — just a snapshot. Use when asked to "landing report", "what's in the queue", "show me open PRs", or "which version do I claim next". (gstack)

    Also in 10 projects that use this

  • ayudaySkill

    setup-deploy

    Configure deployment settings for /land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy status commands. Writes the configuration to CLAUDE.md so all future deploys are automatic. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy with gstack", "add deploy config".

    Also in 19 projects that use this

  • seek888Skill

    pair-agent

    Pair a remote AI agent with your browser. One command generates a setup key and prints instructions the other agent can follow to connect. Works with OpenClaw, Hermes, Codex, Cursor, or any agent that can make HTTP requests. The remote agent gets its own tab with scoped access (read+write by default, admin on request). Use when asked to "pair agent", "connect agent", "share browser", "remote browser", "let another agent use my browser", or "give browser access". (gstack) Voice triggers (speech-to-text aliases): "pair agent", "connect agent", "share my browser", "remote browser access".

    Also in 12 projects that use this

  • seek888Skill

    open-gstack-browser

    Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in. Opens a visible browser window where you can watch every action in real time. The sidebar shows a live activity feed and chat. Anti-bot stealth built in. Use when asked to "open gstack browser", "launch browser", "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser". Voice triggers (speech-to-text aliases): "show me the browser".

    Also in 10 projects that use this

  • +1 more from Saqlain-811
  • Other versions108 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 108

    1. garrytan/gstack★ 143ksame name
    2. dragonflydb/dragonfly★ 32ksame name
    3. xtermjs/xterm.js★ 21ksame name
    4. Z3Prover/z3★ 13ksame name
    5. androidx/androidx★ 6.2ksame name
    6. samchon/typia★ 6ksame name
    7. PaddlePaddle/FastDeploy★ 3.7ksame name
    8. zalando/skipper★ 3.3ksame name
    9. samchon/nestia★ 2.2ksame name
    10. DenchHQ/DenchClaw★ 1.7ksame name

    98 more not listed

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repositoryOne other file it gives its agents.

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 96 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run queue bench and queued builds in the background: a foreground call that waits in the queue gets killed at the Bash timeout.

    line 14
  2. Distinctive:

    Consider work, not only time.

    line 20
  3. Very specific:

    Run each side once. If the same build has varied before, use --runs 3 and compare the means.

    line 29
  4. Distinctive:

    Make sure the output stays the same.

    line 31

“Common” is measured: kept by at least 6 in 10 of the 96 edited versions of this file we could read. “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

queue bench -- <command> waits until no other benchmark runs, then runs the command on its own core. Other work moves to the remaining cores and keeps running.

  • --cores N gives the benchmark N cores. Use 1 for native code. Use 2 for .NET, the JVM, Bun and Node, because their JIT compiler and garbage collector run threads beside the measured code. Use more for load tests and parallel benchmarks.
  • --alone also waits for running builds to finish and holds new builds until the benchmark ends. Builds on other cores still share the CPU cache and memory bandwidth, so use --alone when you compare wall-clock times and expect small differences.
  • --runs N runs the command N times.

Wrap a compound command in a shell: queue bench -- bash -c 'cd perf && bun run compare.ts'.

Run queue bench and queued builds in the background: a foreground call that waits in the queue gets killed at the Bash timeout. Wait for the notification that it finished, then read its output.

Builds and tests through dotnet, cargo, bun and uv take a build slot on their own. Don't wrap them in queue.

On a system that can't pin cores, such as macOS, every benchmark runs alone.

Consider work, not only time.

  • valgrind --tool=cachegrind --cache-sim=no <command> counts executed instructions and prints the total as I refs. It is slow, so use smaller inputs.
  • perf stat -e instructions,cycles <command> counts with hardware counters at full speed. It needs a CPU that exposes them: if /sys/bus/event_source/devices/cpu is missing, as in most cloud VMs, use cachegrind.

Comparing two versions

Measure only the change in question. For that, fetch the target branch and merge it into the current branch. Build both the same way, unless build settings are being compared.

Run each side once. If the same build has varied before, use --runs 3 and compare the means.

Make sure the output stays the same. If it differs unintentionally, it is a bug.

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.