agentleFS
DeepSeekKnown publisherdeepseek-ai/deepseek-harness/benchmarks/AGENTS.md

deepseek-harness / benchmarks

AGENTS.md289k starsChanged 4 months agoMITView on GitHub

This tree owns required, repository-level performance gates whose measured user path crosses package ownership. Package-local diagnostics remain beside their owners and use the .perf.ts suffix instead of joining test:bench.

Trending

Steady talk.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 33 mentionsSep 2026: 18 mentionsOct 2026: 6 mentionsNov 2026: 9 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the deepseek-ai/deepseek-harness repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about deepseek-ai/deepseek-harness

The biggest 5 of 66 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 66

Talked about on GitHub, Bluesky and Hacker News (66 times).

On GitHub · 50

45 more on GitHub

On Bluesky · 13

8 more on Bluesky

On Hacker News · 3

The file

We split this AGENTS.md into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    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 process-level wall-clock and retained-memory samples in fresh children with private mkdtemp roots.

    line 10
  2. Very specific:

    Keep scenario-specific support beside its benchmark.

    line 15

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

AGENTS.md — Performance Benchmarks

This tree owns required, repository-level performance gates whose measured user path crosses package ownership. Package-local diagnostics remain beside their owners and use the .perf.ts suffix instead of joining test:bench.

  • Organize benchmarks by measured user path, one directory per path. Do not mirror the package tree.
  • Host cases use *.bench.ts; Client-face cases use *.bench.client.ts. Worker, fixture, and support modules do not carry a benchmark suffix.
  • The private @deepseek-ai/dsh-benchmarks workspace owns benchmark-only dependencies. test:bench builds workspace libraries and benchmarks/.dsh-build/ workers before Vitest orchestration. Timed CPU work runs in those workers under plain Node, without a TypeScript loader; runtime package imports must resolve to built lib/ entries.
  • Browser workflow cases drive built Client bundles through the shared shipped-composition Web scaffold. Report its source-resolved test Host separately from published-Host evidence; two animation frames prove a rendering opportunity, not hardware presentation. Use fresh browsers and private scaffold worlds per sample.
  • Synthesize fixed inputs from reviewed constants. Never use recorded Sessions, user material, ambient repositories, or network services.
  • Run process-level wall-clock and retained-memory samples in fresh children with private mkdtemp roots. Pure synchronous folds create a fresh object graph per sample and must not mutate process-global state. Bound every child, await exit, and remove owned roots after failure as well as success.
  • Pass every budgeted wall-clock endpoint to recordTimings from support/scaling-report.ts before asserting it, with a BenchmarkCase stating what it measures and which user scenario it affects. Give each endpoint its process CPU time over the same interval when the worker can measure it, otherwise a commented storage-wait share; omit endpoints that include paced or fixed waits. Pass whole-process peak RSS to recordPeakMemory. Profiles live in support/machine-profiles.ts; each run writes .dsh-report/report.html, and CI renders one page from both benchmark phase jobs in node 24 / benchmark report, published as the benchmark-report artifact.
  • Record reference-machine expectations separately from the shared CI time scale and variance headroom. Do not apply the time scale to memory or dimensionless ratios.
  • A phase that fails re-runs once end to end, so one slow measurement on a shared runner gets a second full measurement. Budgets are unchanged, and a genuine regression fails both attempts.
  • Report enough raw and aggregate measurements to explain each verdict, including whether a budget uses a median, minimum, absolute value, or ratio. Enforce reviewed source constants; environment variables must not override performance budgets.
  • Keep scenario-specific support beside its benchmark. Move a helper into benchmarks/support/ only after at least two benchmark directories require the same behavior.
  • Exercise production entry points. Do not copy product algorithms, add production exports solely for measurement, or turn benchmark completion into duplicate semantic assertions.
  • A compiled worker may bundle a private integration adapter when no public Node export exposes the measured user path. Keep package imports external so product services resolve through their built package exports. Workers bundle the /client subpath of a workspace package that declares dsh.client from source, because its built lib/client.js registers with a browser module loader; every other package import stays external (tsdown.config.ts).
  • Record the workload, timing boundary, memory endpoint, calibration reference, alternatives, and known exclusions in the owning Agent Note.
  • pnpm run test:bench:memory 4g|8g reruns the files listed in run-memory-pressure-bench.ts inside a swapless cgroup capped at 4 or 8 GiB, with unchanged budgets. Keep a file's budgets valid under both caps when it joins that list (Agent Note).

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.