From 2712c3fe4886baf80db2cd8173faf04c281802f1 Mon Sep 17 00:00:00 2001 From: stumpylog <797416+stumpylog@users.noreply.github.com> Date: Thu, 30 Jul 2026 11:20:14 -0700 Subject: [PATCH] Fix: correct /api/tags/ endpoint URL in benchmarking skill The skill documentation stated that run benchmarks /api/tags/ but src/paperless_benchmark/endpoints.py actually uses /api/tags/?page_size=100000. Update the skill's Command reference section to match the actual endpoint definition. Co-Authored-By: Claude Sonnet 5 --- .claude/skills/paperless-benchmarking/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.claude/skills/paperless-benchmarking/SKILL.md b/.claude/skills/paperless-benchmarking/SKILL.md index 5966ece15..748c1b2ce 100644 --- a/.claude/skills/paperless-benchmarking/SKILL.md +++ b/.claude/skills/paperless-benchmarking/SKILL.md @@ -28,7 +28,7 @@ manage.py benchmark list-scenarios guardian permission grants) and `perf_admin` (superuser), plus a general user/group pool with realistic permission-row ratios. - **`run`** times the 3 built-in API endpoint benchmarks - (`/api/documents/`, `/api/documents/?page_size=50`, `/api/tags/`) for both + (`/api/documents/`, `/api/documents/?page_size=50`, `/api/tags/?page_size=100000`) for both `perf_target` and `perf_admin`, reporting min/median/max wall-clock and SQL query count. Requires `seed` to have already run — it reuses that data, it does not seed its own.