From 4b2f3039d2f755b951343fc2c2157c68516c8888 Mon Sep 17 00:00:00 2001 From: JustAMacUser Date: Wed, 12 Dec 2018 21:30:16 -0500 Subject: Properly report filter plugin time (re-fixes PR 98). --- classes/rssutils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/rssutils.php') diff --git a/classes/rssutils.php b/classes/rssutils.php index aa051418b..750222c80 100755 --- a/classes/rssutils.php +++ b/classes/rssutils.php @@ -830,7 +830,7 @@ class RSSUtils { $start = microtime(true); $article = $plugin->hook_article_filter_action($article, $pfaction); - Debug::log(sprintf("=== %.4f (sec)", Debug::$LOG_VERBOSE)); + Debug::log(sprintf("=== %.4f (sec)", microtime(true) - $start), Debug::$LOG_VERBOSE); } else { Debug::log("??? $pfclass: plugin object not found.", Debug::$LOG_VERBOSE); } -- cgit v1.2.3