From 912c0bb9c90d0e67617b841cc193b92ca382b09d Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 19 Apr 2016 15:40:08 +0200 Subject: [PATCH] Document that XDebug is super slow --- doc/2_Usage_of_basic_components.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/2_Usage_of_basic_components.markdown b/doc/2_Usage_of_basic_components.markdown index 450499e..f91a5bb 100644 --- a/doc/2_Usage_of_basic_components.markdown +++ b/doc/2_Usage_of_basic_components.markdown @@ -18,7 +18,9 @@ Additionally you may want to set the `xdebug.max_nesting_level` ini option to a ini_set('xdebug.max_nesting_level', 3000); ``` -This ensures that there will be no errors when traversing highly nested node trees. +This ensures that there will be no errors when traversing highly nested node trees. However, it is +preferable to disable XDebug completely, as it can easily make this library more than five times +slower. Parsing -------