benchmark — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited benchmark (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Measure real performance baselines for a Laravel app and detect regressions by comparing before/after a change. This skill measures — it produces honest numbers and verdicts. For design guidance on hot paths, defer to @skills/latency-critical-systems/SKILL.md; to act on a regression with an optimization loop, hand off to @skills/benchmark-optimization-loop/SKILL.md.
@rules/sql/optimalize.mdc when reading or interpreting query timing (N+1, index usage, SARGable filters).@rules/code-testing/general.mdc if you add or touch any benchmark test (Pest, no describe()).Do not use for live design advice (use latency-critical-systems) or for diagnosing one Telescope request (use @skills/laravel-telescope/SKILL.md).
Pick the modes that match the change. Always record environment first: app URL, commit SHA, APP_ENV, dataset size, cache/opcache state, and whether the run is cold (first hit, caches cleared) or warm (steady state).
Measure against the running Laravel app (php artisan serve or the real host).
npx lighthouse <url> --output=json --output-path=./lh.json --only-categories=performance --chrome-flags="--headless".Target real Laravel routes/controllers. Authenticate as needed; use a realistic payload.
wrk -t4 -c50 -d30s --latency https://app.test/api/orders (reports p50/p90/p99).ab -n 1000 -c 50 https://app.test/api/orders.k6 (k6 run script.js).composer install (cold = no vendor, no cache): time it.time npm run build (Vite production) and HMR warm-reload feel.time php artisan test or vendor/bin/pest (note parallel vs serial).time vendor/bin/phpstan analyse and time vendor/bin/pint --test.@skills/laravel-telescope/SKILL.md or the slow-query log.EXPLAIN (or EXPLAIN ANALYZE on MySQL 8) per @rules/sql/optimalize.mdc; record rows examined, key used, and whether a full scan occurs.Store git-tracked, one file per logical target, under tests/Benchmark/ (or .benchmarks/ if you prefer a non-test location). Commit so the team shares one reference.
{
"target": "GET /api/orders",
"mode": "api",
"captured_at": "2026-06-15T10:00:00Z",
"commit": "abc1234",
"environment": { "app_env": "local", "dataset": "10k orders", "state": "warm", "runs": 5, "tool": "wrk" },
"metrics": {
"p50_ms": 42,
"p95_ms": 110,
"p99_ms": 180,
"throughput_rps": 940,
"error_rate": 0.0
}
}For page mode use keys lcp_ms, cls, inp_ms, fcp_ms, ttfb_ms, js_bytes, transfer_bytes; for build mode seconds per step (cold/warm); for DB mode query_ms, rows_examined, key_used.
Report one row per metric with the delta and an explicit verdict.
| Metric | Before | After | Delta | Verdict |
|---|---|---|---|---|
| p95 (ms) | 110 | 78 | -29% | improved |
| p99 (ms) | 180 | 175 | -3% | noise |
| throughput (rps) | 940 | 1280 | +36% | improved |
| error rate | 0.0% | 0.4% | +0.4pp | regressed |
Verdict legend: improved / regressed / noise (delta within run-to-run variance) / target-miss (still below the target threshold). State the threshold and the noise band you used.
@skills/benchmark-optimization-loop/SKILL.md or @skills/mysql-problem-solver/SKILL.md as appropriate.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.