New internal/perf package with BenchmarkZipPipeline_1kDeals that exercises the full hot path: API fetch (stores + savings against an httptest server with pre-marshaled payloads), filter.Apply with all predicates active and a 50-item limit, and display.PrintDealsJSON to io.Discard. This provides a single top-level benchmark to catch regressions across package boundaries — e.g. if a filter optimization shifts allocation pressure into the display layer, this benchmark surfaces it where per-package benchmarks would not. Synthetic dataset: 1000 deals with deterministic category/department distribution to ensure the filter pipeline has meaningful work to do (~1/3 BOGO, mixed departments, keyword matches in titles). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
3.1 KiB
3.1 KiB