Practice of writing tests (e.g. Minitest assert_queries helper) that assert how many database queries a given GraphQL operation triggers, with query_cache enabled so cached queries are excluded. Catches N+1 regressions in CI/PR review rather than in production, and guards prior performance improvements against being undone.