8000 Update performance.rst by seferov · Pull Request #8332 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Update performance.rst #8332

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

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions performance.rst
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,12 @@ For more details, see :doc:`/components/class_loader/cache_class_loader`.
Use Bootstrap Files
-------------------

.. caution::

The performance optimalizations in PHP 7 removed any overhead. As such,
using the bootstrap file is discouraged when using PHP 7+ and was
deprecated in Symfony 3.3 and it will be removed in 4.0.

To ensure optimal flexibility and code reuse, Symfony applications leverage
a variety of classes and 3rd party components. But loading all of these classes
from separate files on each request can result in some overhead. To reduce
Expand Down
0