Explorar o código

[DependencyInjection] removed timing info as it is useless

Fabien Potencier %!s(int64=14) %!d(string=hai) anos
pai
achega
de390fd893

+ 0 - 2
src/Symfony/Component/DependencyInjection/Compiler/Compiler.php

@@ -109,7 +109,5 @@ class Compiler
         foreach ($this->passConfig->getPasses() as $pass) {
             $pass->process($container);
         }
-
-        $this->addLogMessage(sprintf('Compilation finished in %.3fs.', microtime(true) - $start));
     }
 }

+ 0 - 3
src/Symfony/Component/DependencyInjection/Compiler/RepeatedPass.php

@@ -53,9 +53,6 @@ class RepeatedPass implements CompilerPassInterface
         foreach ($this->passes as $pass) {
             $time = microtime(true);
             $pass->process($container);
-            $compiler->addLogMessage(sprintf(
-                '%s finished in %.3fs', get_class($pass), microtime(true) - $time
-            ));
         }
 
         if ($this->repeat) {