-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Remove outdated performance tips #8556
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
Conversation
------------------------------- | ||
|
||
Another solution is to cache the location of each class after it's located | ||
the first time. Symfony comes with a class - :class:`Symfony\\Component\\ClassLoader\\ApcClassLoader` - |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
component deprecated
.. index:: | ||
single: Performance; Bootstrap files | ||
|
||
Use Bootstrap Files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not recommended anymore, esp. with php 7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
technically this is still relevant for php 5 (as you know), but I'm +1 for removing it... because users already have this code - PHP 5 users don't need to take any action.
@@ -96,8 +96,7 @@ value too using the ``realpath_cache_ttl`` option: | |||
Use Composer's Class Map Functionality | |||
-------------------------------------- | |||
|
|||
By default, the Symfony Standard Edition uses Composer's autoloader | |||
in the `autoload.php`_ file. This autoloader is easy to use, as it will |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does not exist anymore since symfony/symfony-standard#1056
.. index:: | ||
single: Performance; Bootstrap files | ||
|
||
Use Bootstrap Files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
technically this is still relevant for php 5 (as you know), but I'm +1 for removing it... because users already have this code - PHP 5 users don't need to take any action.
Thanks @Tobion! |
This PR was merged into the 3.3 branch. Discussion ---------- Remove outdated performance tips I've just realized there is an ongoing effort to rewrite this in #8410 and #7960. But if those are not merged soon, I'd suggest to merge this first so that we can at least solve the broken doc and people don't try to repeatedly fix this, like me and #8332 Commits ------- d21e200 Remove outdated performance tips
I've just realized there is an ongoing effort to rewrite this in #8410 and #7960.
But if those are not merged soon, I'd suggest to merge this first so that we can at least solve the broken doc and people don't try to repeatedly fix this, like me and #8332