gaelic-ghost/socket/benchmark-model-runtime

Claude Code and agent skill by gaelic-ghost/socket

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Benchmark model runtimes across latency, throughput, memory, energy, load time, size, and stability. Use when comparing Core AI, Core ML, MLX, ExecuTorch, PyTorch, quantization, devices, or packaging.

Install

npx vskill@latest install gaelic-ghost/socket/benchmark-model-runtime

SKILL.md

Benchmark Model Runtime

Define A Fair Workload

Pin the exact model artifact, tokenizer/template, runtime and version, device and OS, precision, cache policy, batch size, prompt-length buckets, generated-token target, sampling settings, and measurement tool. Compare numerical or behavioral parity before performance.

Workflow

  1. Verify each artifact produces acceptable outputs on the same small parity set.
  2. Separate cold load, warm load, prompt processing, time to first token, decode throughput, and end-to-end latency.
  3. Measure peak and steady memory; include model, cache, runtime, and process overhead consistently.
  4. Stabilize device power, charging, background load, and thermal state. Record deviations instead of silently rerunning only slow samples.
  5. Warm up separately, then run enough measured repetitions to report median and tail percentiles.
  6. Sweep representative prompt lengths, output lengths, and batch/concurrency levels.
  7. Record failures, fallback execution, recompilation, memory pressure, and thermal throttling.
  8. Measure energy with an appropriate system tool when the decision depends on battery or sustained deployment.
  9. Retain raw samples and summarize them with units, sample counts, and uncertainty.

Apple Runtime Checks

  • Confirm delegated operator coverage and fallback behavior rather than assuming the named backend ran the whole graph.
  • Distinguish compilation/conversion time from load and inference time.
  • For stateful generation, include key-value cache initialization, update, and memory growth.
  • Treat ExecuTorch MLX results as revision-specific while the upstream backend remains experimental.

References

Use references/runtime-benchmarking.md for metric definitions and reporting requirements.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
7
7-day trend score
10

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/gaelic-ghost/socket/benchmark-model-runtime/badge)](https://verified-skill.com/skills/gaelic-ghost/socket/benchmark-model-runtime)

Something wrong with this skill or its page? Tell us.