From 0f259838b175b624e07d1f9e325f06404ce3777d Mon Sep 17 00:00:00 2001 From: Ramin M Date: Sat, 14 Feb 2015 21:10:41 +0330 Subject: [PATCH] Adding Composer Auto loader Optimization Section --- docs/guide/tutorial-performance-tuning.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/guide/tutorial-performance-tuning.md b/docs/guide/tutorial-performance-tuning.md index 9342dde..6c3c3eb 100644 --- a/docs/guide/tutorial-performance-tuning.md +++ b/docs/guide/tutorial-performance-tuning.md @@ -218,6 +218,12 @@ foreach ($posts as $post) { Note that you can use array notation even if `asArray` wasn't specified and you're working with AR objects. +### Composer Atuoloader Optimization +The autoloader's performance is really important in modern PHP applications. Optimizing Composer's autoloader using ``` php composer.phar dumpautoload -o ``` is the way to have maximum performance. But it is the responsibility of the application developer to apply the optimization. + + +php composer.phar dumpautoload -o + ### Processing data in background In order to respond to user requests faster you can process heavy parts of the