Problem/Motivation

Dependency tree (order of the migration execution) might use less memory (and can use less computing resources) if there aren't any optional dependencies in the migration set: in this case, $required_dependency_graph is computed without any reason.

Proposed resolution

Optimize MigrationPluginManagerInterface::buildDependencyMigration().

Comments

huzooka created an issue. See original summary.

huzooka’s picture

Status: Active » Needs review
StatusFileSize
new8.8 KB
huzooka’s picture

StatusFileSize
new8.76 KB

Status: Needs review » Needs work

The last submitted patch, 3: smc-optimize_dependency_calculation-3340714-3.patch, failed testing. View results

huzooka’s picture

Status: Needs work » Needs review
StatusFileSize
new8.68 KB
new2.31 KB
huzooka’s picture

StatusFileSize
new7.73 KB

This patch is the rebased version of the one in #5.

  • huzooka committed 1f7855f6 on 1.0.x
    Issue #3340714 by huzooka: Optimize dependency tree calculation
    
huzooka’s picture

Status: Needs review » Fixed
huzooka’s picture

Assigned: huzooka » Unassigned

Released in 1.0.0-alpha12.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.