Skip to content

[PS] Optimize settings.php discovery #6130

Open
backdrop/backdrop
#4447
@klonos

Description

@klonos

I just bumped into this old issue again: https://www.drupal.org/project/drupal/issues/1055856

It was initially filed against D7, and there was a patch for it, with some benchmark results as well:

...running benchmarks several times I see the patched version consistently 5-10% faster except for a couple of outliers. xhprof suggests about the same saving (some from file_exists(), some from the surrounding logic).

The issue eventually got moved to the 8.x-dev queue and lost traction since.

Might be worth porting the D7 patch and doing some benchmarks to see if there's actually any performance gain 😉

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions