Uh oh!
There was an error while loading. Please reload this page.
perf: add Factories::get() - #8598
Conversation
We should use $options['component'] because it takes precedence. See the code below to create a shared instance.
05831b3 to
1b5fdb3Comparelonnieezell
commented
Mar 2, 2024
Have you compared using the current I find the helper method |
ddevsr
commented
Mar 2, 2024
I am agree with @lonnieezell, we already introduces |
kenjis
commented
Mar 2, 2024
Indeed, the performance improvement in the Welcome page benchmark in this PR was very small. The numbers are so varied that it is hard to tell if there is any real improvement. However, the performance of Factories should have improved as seen in the profiles. It might be certainly better to use However, DI containers, service locators, whatever, they cannot make the framework faster. They can only slow it down. So even if we improve that, it seems impossible to keep up with CI3. |
Description
See #6889 (comment)
Benchmark
Profiling
Before:

After:

Environment
Checklist: