S36: make bench-small + bench-full targets
- SHA
8f82a9e511728b4ee5948ad2f43fa76960fa1a2f- Parents
-
e1c16d6 - Tree
033a434
8f82a9e
8f82a9e511728b4ee5948ad2f43fa76960fa1a2fe1c16d6
033a434| Status | File | + | - |
|---|---|---|---|
| M |
Makefile
|
7 | 0 |
Makefilemodified@@ -82,6 +82,13 @@ lint-markdown: ## Enforce markdown-package boundary (no goldmark/bluemonday outs | ||
| 82 | 82 | lint-secret-logs: ## Fail when source emits log lines containing token-prefix patterns. |
| 83 | 83 | @scripts/lint-secret-logs.sh |
| 84 | 84 | |
| 85 | +bench-small: ## Run the bench harness against $$BENCH_TARGET (default localhost:8080). | |
| 86 | + @go run ./bench -target=$${BENCH_TARGET:-http://localhost:8080} -iters=$${BENCH_ITERS:-20} | |
| 87 | + | |
| 88 | +bench-full: ## Placeholder — runs nightly off-CI against big fixtures (see bench/fixtures/README.md). | |
| 89 | + @echo "bench-full: big-fixture generators land in a follow-up — see bench/fixtures/README.md" | |
| 90 | + @exit 0 | |
| 91 | + | |
| 85 | 92 | install-tools: ## Install development tools via 'go install'. |
| 86 | 93 | go install mvdan.cc/gofumpt@latest |
| 87 | 94 | go install golang.org/x/tools/cmd/goimports@latest |