Skip to content

⚡ Performance: Per-indexer loading and repeated config lookups in Indexer module #40730

@lbajsarowicz

Description

@lbajsarowicz

Performance Issues in Magento_Indexer

Findings

# File Line(s) Issue Consensus Severity
39 Model/Indexer/Collection.php 64-74 N+1 Loading: For each indexer ID from config, loads individual indexer state via $indexer->load($indexerId), then iterates all states in nested loop to find match. Medium

Methodology

  • Static code analysis cross-validated by 3 AI systems (Claude, Codex gpt-5.4, Gemini 3 Pro)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Ready for Confirmation

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions