Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a feature switch to trigger SchemaValidator in Collector #1120

Merged

Commits on Jan 7, 2020

  1. Add a feature switch to trigger SchemaValidator in Collector

    Calling SchemaValidator from DoctrineDataCollector can
    results in loading a lot of metadatas for relations of
    retated entities. On some profile, it can be up to 18%
    of the total (already heavy) pages.
    
    As there is already a command to get the schema
    validation, we can put this validation behind a feature
    switch `profiling_collect_schema_errors`.
    
    Command is: `bin console doctrine:schema:validate`
    
    Fixes doctrine#1115
    bastnic committed Jan 7, 2020
    Copy the full SHA
    1ccb822 View commit details
    Browse the repository at this point in the history