Index of every page on this site: llms.txt
All skills
Run it yourself

Micro-benchmark and iteratively improve hot paths in any codebase: baseline first, mandatory improvement suggestions (bottleneck + 3 creative ideas + recommended next step), bounded attempts, user lock-in checkpoints, then human WHY comments after lock-in. Use when the user asks to benchmark, profile, optimize performance, compare implementations, or measure µs/op before shipping perf changes. Applies to Bun/Node, React, Next.js, browser code, and extensions.

Use this Skill: https://skilld.dev/gh/illyism/dev-skills/benchmarking

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

domains-template.md

≈311 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Benchmark domain catalog

Maintain this in the project when hot paths multiply. One row = one benchmark row or suite section.

Pure utils (no DOM / no I/O)

Domain Module Functions Sample inputs Suite file
Example src/lib/format.ts formatCurrency edge cases, locales tools/benchmark-format.mjs

Scale: 400 iterations × sample count for µs-scale ops.


DOM / React / server

Domain Module Functions Fixture Iterations
Example src/components/List.tsx render + filter saved HTML or factory ≤ 100

Storage / network-shaped (mock only)

Domain Module Functions Scale N Notes
Example src/db/items.ts list, search 100, 1k, 10k polyfill IDB in Bun; never fake timings

Manual-only (document, do not fake)

Surface How
Which tab / view is heavy? Live CDP: nodes, images, TTFB, heap — no harness
Full page load / LCP Chrome DevTools Performance or web-perf skill
Cold app start Real device or browser trace

Report manual traces as ms, not µs/op.


Planned suites

Priority when profiling shows cost:

  1. …
  2. …

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The skill provides a legitimate and structured micro-benchmarking workflow with helper scripts for timing functions and running benchmark suites. No malicious patterns or security risks were detected.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

Signed by skilld at f8a2249. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Activeupdated 2 weeks ago
Other metadata
metadata
{
  "version": "1.0.0",
  "author": "illyism",
  "source": "https://il.ly/skills/benchmarking"
}

README badge

README badge for illyism/dev-skills/benchmarking