]> git.mxchange.org Git - friendica.git/blobdiff - src/App.php
Add dms/phpunit-arraysubset-asserts dependency
[friendica.git] / src / App.php
index d6532c445cc2ecafb6849d0095a5e1a67b1ce7cb..9cbac155b583df11b35b923669ef7c9f0f284db0 100644 (file)
@@ -707,7 +707,9 @@ class App
                        $input     = array_merge($httpinput['variables'], $httpinput['files'], $request ?? $_REQUEST);
 
                        // Let the module run it's internal process (init, get, post, ...)
+                       $timestamp = microtime(true);
                        $response = $module->run($input);
+                       $this->profiler->set(microtime(true) - $timestamp, 'content');
                        if ($response->getHeaderLine(ICanCreateResponses::X_HEADER) === ICanCreateResponses::TYPE_HTML) {
                                $page->run($this, $this->baseURL, $this->args, $this->mode, $response, $this->l10n, $this->profiler, $this->config, $pconfig);
                        } else {