Benchmark Honestly logo

Benchmark Honestly

Community
dotslashsimran
benchmark-honestly

Build benchmarks that survive scrutiny and catch the classic lies (dead code elimination, lazy results, constant folding, warm caches, coordinated omission, averages hiding GC pauses, unequal work, noisy machines). Defines the question first, controls and discloses the environment, uses warmups, interleaved repeats, medians, bootstrap confidence intervals and Mann-Whitney tests, and ends with a one-line verdict that includes the CI. Bundles a command runner, an environment reporter and an open-loop latency tester. Use when the user says "benchmark this", "is this faster", "compare performance", "did my change speed it up", "load test", "latency percentiles", "p99", or posts a speedup claim to check.

Overview

Publisherdotslashsimran
Repositorysimcraft
Skill namebenchmark-honestly
Stars
362
Forks
25
Bundled files
28
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 28 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by dotslashsimran on GitHub. Read the source before you install it.

Installation

Install the Benchmark Honestly AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/dotslashsimran/simcraft/tree/main/skills/coding/benchmark-honestly
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dotslashsimran/simcraft.git /tmp/simcraft
mkdir -p .claude/skills
cp -r /tmp/simcraft/skills/coding/benchmark-honestly .claude/skills/benchmark-honestly
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Benchmark Honestly in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Benchmark Honestly on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Benchmark Honestly is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Benchmark honestly

A benchmark is a claim: "under these conditions, A takes this long, and B is this much faster, give or take this much". Most published benchmark numbers are wrong because one of those parts is missing. This skill makes every part explicit and runs checks that catch the usual mistakes. Deeper explanations are in reference.md.

Scripts live in ~/simcraft/skills/coding/benchmark-honestly/scripts/. They need only Python 3.9+.

1. Write the question down first

Before running anything, agree on these with the user and write them at the top of the report:

  • What is measured: throughput (work per second) or latency (time per request). For latency, which percentile matters (p50 for typical, p99 or p99.9 for the tail users complain about).
  • Cold or warm: first run after start (caches empty, JIT not compiled) or steady state. These are different questions with different answers.
  • The workload: realistic input sizes and shapes. A 100-element input fits in L1 cache and says nothing about a 10 GB one.
  • What difference matters: "a 2% gain is worth shipping" or "only 20% matters". Pass it as --min-effect.
  • Microbenchmark or end to end: a 3x faster function inside a request that spends 95% of its time on the network changes nothing. Measure end to end before celebrating a micro result.

2. Pick the tool

Use the ecosystem's own tool if it is installed, because it runs in-process with less overhead:

EcosystemToolCompare two versions with
Any commandhyperfine --warmup 3 -N 'a' 'b'its relative output, or bench.py for CIs
Pythonpyperf (or pytest-benchmark)pyperf compare_to old.json new.json
JS / TSmitata or tinybenchrun both in one file
Gogo test -bench . -count 20benchstat old.txt new.txt
Rustcriterion--save-baseline then --baseline

Otherwise, or to get the statistics and the checks, use the bundled runner:

python3 scripts/bench.py -n old -n new "python3 old.py" "python3 new.py" \
  --runs 30 --warmup 3 --floor "python3 -c pass" --same-output \
  --md report.md --json report.json --chart chart.svg --redact

The first command is the baseline. It runs warmups, then shuffled rounds so drift hits every variant equally, records wall time, CPU time and peak memory, and prints medians, bootstrap CIs, a Mann-Whitney test, Cliff's delta and a verdict. --floor takes an empty version of the program (same startup, no work) and flags any variant that is not clearly slower than it. --same-output flags variants that print different results. --prepare CMD runs before every timed run (for example to evict a cache). --subtract-floor compares the work alone, without startup.

For latency under load, use the open-loop tester, never a loop that waits for each reply before sending the next:

python3 scripts/latency_test.py --url http://127.0.0.1:8080/ --rate 200 --duration 30 --md latency.md

3. Control the environment, then disclose it

Run python3 scripts/env_report.py --redact before and after (bench.py includes it automatically). Fix what it warns about: plug in the laptop, turn off low power mode, close busy apps, on Linux set the governor to performance and pin with taskset. On macOS you cannot pin cores or turn off turbo, and Apple Silicon may put the run on slow efficiency cores; say so in the report. Check that you are timing a release build (-O2, --release, NODE_ENV=production), not a debug build.

4. Check for the lies

Go through the list in reference.md ("The lies") for the code at hand. The short version:

  • Is the result used? (dead code, lazy iterators, constant folding). Print or return a checksum.
  • Is every variant doing the same work on the same input? Compare outputs.
  • Did the previous run warm a cache for the next one? Shuffle the order, and say if the numbers are warm or cold.
  • Is the work bigger than the timer and startup cost? Compare against the floor.
  • Is latency measured from the intended send time? Is the tail reported, not just the mean?

5. Report

Every report has: the question, a chart showing every run (not just a bar), the setup table, the exact command to reproduce, and one honest line, for example "new is 1.18x faster than old (95% CI 1.09x to 1.27x, 30 runs each, warm cache, M2 laptop on AC power)". If the CI includes 1.0, the line says there is no clear difference. Never report a speedup from a single run or from means alone.

Examples

examples/ has four real cases run on a busy laptop, each with the naive result next to the honest one: a lazy map() that looks 100,000x faster, two identical sorts where single runs give a different "winner" each time, a file read where whichever variant runs first loses, and a server with GC-like pauses whose p99 looks fine in a closed loop. See examples/README.md.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Benchmark Honestly AI skill do?

Build benchmarks that survive scrutiny and catch the classic lies (dead code elimination, lazy results, constant folding, warm caches, coordinated omission, averages hiding GC pauses, unequal work, noisy machines). Defines the question first, controls and discloses the environment, uses warmups, interleaved repeats, medians, bootstrap confidence intervals and Mann-Whitney tests, and ends with a one-line verdict that includes the CI. Bundles a command runner, an environment reporter and an open-loop latency tester. Use when the user says "benchmark this", "is this faster", "compare performan...

Why use Benchmark Honestly on TypingMind?

Because you install it once and use it with any model. Benchmark Honestly is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Benchmark Honestly in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/dotslashsimran/simcraft/tree/main/skills/coding/benchmark-honestly. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Benchmark Honestly?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Benchmark Honestly?

As many as you like. As long as a model supports skills, you can use Benchmark Honestly with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Benchmark Honestly AI skill free?

Yes. It is published on GitHub by dotslashsimran under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇