Skip to content

Commit acd87b3

Browse files
test: add ZAP import/reimport baselines + V2/V3 variants for every scenario
Two additions: 1. New TagInheritanceImportPerfBaselines class pins query counts for the importer hot path (production's heaviest tag-inheritance scenario). Both first-import and no-change-reimport are covered, each with V2 and V3 method variants: zap_import_v2 : 1461 zap_import_v3 : 1319 zap_reimport_no_change_v2 : 77 zap_reimport_no_change_v3 : 95 2. Restructures the existing baseline class so every scenario has both a _v2 and _v3 method variant via per-test @override_settings. The whole suite now runs both modes in a single invocation; no need to run twice with different DD_V3_FEATURE_LOCATIONS env. Phase A leaves the importer numbers ~unchanged (importer hot loop is creation-driven, not the bulk-propagation path Phase A targets). Phase B's tag_inheritance.batch() context manager is the lever that lowers these numbers.
1 parent 961b73e commit acd87b3

1 file changed

Lines changed: 221 additions & 109 deletions

File tree

0 commit comments

Comments
 (0)