Hello and welcome in my OpenCart Profiler demo.

In case you don't know what my Profiler is, it's described in my GitHub and can be bought at the OpenCart Extensions Marketplace.

You don't get access to the admin side of this website, but there is no need, as the Profiler is always enabled for any visitor here, for your evaluation (unlike the real deal, where an admin can only turn it on for themselves and no one else).

Of course, there is nothing to really profile and debug on this particular demo: there are only a few products, no fancy template, no additional modules and no custom changes. But it's enough to get familiar with the Profiler and decide if you need it.

This is what you get out of the box, with only two added profiling steps, found near the end of "Code Seq":
"how long does `getTotalProducts()` take?"

/nekto

Code Seq SQL Seq SQL Time Same SQL Similar SQL
Code
rows ms
77 ~115
SQL
rows ms
164 ~81
Manual
# Step TTFB, ms Trace RAM, Kb
1
model/design/translation/getTranslations()
-1000
[happened before `session`, not measured, not traced, see built-in Manual for instructions]
[happened before `session`, not measured, not traced, see built-in Manual for instructions]
-
Models called:
2 x `tool/image/resize()`
1 x `catalog/product/getProductSpecials()`
1 x `catalog/product/getTotalProductSpecials()`
1 x `design/translation/getTranslations()`
1 x `localisation/currency/getCurrencies()`
1 x `localisation/language/getLanguages()`
1 x `setting/event/getEvents()`
SQL: 22 request(s) (#1-22), total duration: ~18 ms
SQL Query 22 request(s), #1-22, total duration: ~18 ms Dur Total TTFB
Trace
1 SET time_zone = '+00:00' 0 0 TOTAL -3 TTFB
[happened before `session`, not measured, not traced, see built-in Manual for instructions]
[happened before `session`, not measured, not traced, see built-in Manual for instructions]
2 SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '0' AND (route = 'engb' OR route = '') 0 0 TOTAL -2 TTFB
[happened before `session`, not measured, not traced, see built-in Manual for instructions]
[happened before `session`, not measured, not traced, see built-in Manual for instructions]
3 SELECT `data` FROM `oc_session` WHERE `session_id` = 'b41375c65fda945a945adfc639' AND `expire` > '2025-04-04 08:47:27' 0 0 TOTAL -1 TTFB
[happened before `session`, not measured, not traced, see built-in Manual for instructions]
[happened before `session`, not measured, not traced, see built-in Manual for instructions]
4 SELECT * FROM oc_store WHERE REPLACE(`ssl`, 'www.', '') = 'https://opencart-profiler.nekto.com.ua/' 0.961 1 TOTAL 6 TTFB
/catalog/controller/startup/startup.php:6 (in `DB->query()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupStartup->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:46 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/catalog/controller/startup/startup.php:6 (in `DB->query()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupStartup->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:46 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
5 SELECT * FROM `oc_setting` WHERE store_id = '0' OR store_id = '0' ORDER BY store_id ASC 1.2422 2.2 TOTAL 7 TTFB
/catalog/controller/startup/startup.php:25 (in `DB->query()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupStartup->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:46 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/catalog/controller/startup/startup.php:25 (in `DB->query()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupStartup->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:46 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
6 SET time_zone = '+03:00' 0.1593 2.4 TOTAL 8 TTFB
/catalog/controller/startup/startup.php:40 (in `DB->query()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupStartup->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:46 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/catalog/controller/startup/startup.php:40 (in `DB->query()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupStartup->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:46 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
7 SELECT * FROM oc_language WHERE status = '1' ORDER BY sort_order, name 0.5237 2.9 TOTAL 9 TTFB
/catalog/model/localisation/language.php:15 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelLocalisationLanguage->getLanguages()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/startup/startup.php:54 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupStartup->index()`)
/catalog/model/localisation/language.php:15 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelLocalisationLanguage->getLanguages()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/startup/startup.php:54 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupStartup->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:46 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
8 SELECT * FROM `oc_currency` WHERE `status` = '1' ORDER BY `title` ASC 0.5401 3.4 TOTAL 10 TTFB
/catalog/model/localisation/currency.php:15 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelLocalisationCurrency->getCurrencies()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/startup/startup.php:148 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupStartup->index()`)
/catalog/model/localisation/currency.php:15 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelLocalisationCurrency->getCurrencies()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/startup/startup.php:148 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupStartup->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:46 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
9 SELECT * FROM oc_currency 0.3155 3.7 TOTAL 11 TTFB
/system/library/cart/currency.php:10 (in `DB->query()`)
/catalog/controller/startup/startup.php:170 (in `Cart\Currency->__construct()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupStartup->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:46 (in `Router->execute()`)
/system/library/cart/currency.php:10 (in `DB->query()`)
/catalog/controller/startup/startup.php:170 (in `Cart\Currency->__construct()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupStartup->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:46 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
10 SELECT tr1.tax_class_id, tr2.tax_rate_id, tr2.name, tr2.rate, tr2.type, tr1.priority FROM oc_tax_rule tr1 LEFT JOIN oc_tax_rate tr2 ON (tr1.tax_rate_id = tr2.tax_rate_id) INNER JOIN oc_tax_rate_to_customer_group tr2cg ON (tr2.tax_rate_id = tr2cg.tax_rate_id) LEFT JOIN oc_zone_to_geo_zone z2gz ON (tr2.geo_zone_id = z2gz.geo_zone_id) LEFT JOIN oc_geo_zone gz ON (tr2.geo_zone_id = gz.geo_zone_id) WHERE tr1.based = 'shipping' AND tr2cg.customer_group_id = '1' AND z2gz.country_id = '220' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '3490') ORDER BY tr1.priority ASC 1.4656 5.2 TOTAL 13 TTFB
/system/library/cart/tax.php:16 (in `DB->query()`)
/catalog/controller/startup/startup.php:179 (in `Cart\Tax->setShippingAddress()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupStartup->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:46 (in `Router->execute()`)
/system/library/cart/tax.php:16 (in `DB->query()`)
/catalog/controller/startup/startup.php:179 (in `Cart\Tax->setShippingAddress()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupStartup->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:46 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
11 SELECT tr1.tax_class_id, tr2.tax_rate_id, tr2.name, tr2.rate, tr2.type, tr1.priority FROM oc_tax_rule tr1 LEFT JOIN oc_tax_rate tr2 ON (tr1.tax_rate_id = tr2.tax_rate_id) INNER JOIN oc_tax_rate_to_customer_group tr2cg ON (tr2.tax_rate_id = tr2cg.tax_rate_id) LEFT JOIN oc_zone_to_geo_zone z2gz ON (tr2.geo_zone_id = z2gz.geo_zone_id) LEFT JOIN oc_geo_zone gz ON (tr2.geo_zone_id = gz.geo_zone_id) WHERE tr1.based = 'store' AND tr2cg.customer_group_id = '1' AND z2gz.country_id = '220' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '3490') ORDER BY tr1.priority ASC 0.5697 5.8 TOTAL 14 TTFB
/system/library/cart/tax.php:44 (in `DB->query()`)
/catalog/controller/startup/startup.php:188 (in `Cart\Tax->setStoreAddress()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupStartup->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:46 (in `Router->execute()`)
/system/library/cart/tax.php:44 (in `DB->query()`)
/catalog/controller/startup/startup.php:188 (in `Cart\Tax->setStoreAddress()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupStartup->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:46 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
12 SELECT * FROM oc_weight_class wc LEFT JOIN oc_weight_class_description wcd ON (wc.weight_class_id = wcd.weight_class_id) WHERE wcd.language_id = '1' 0.6804 6.5 TOTAL 15 TTFB
/system/library/cart/weight.php:10 (in `DB->query()`)
/catalog/controller/startup/startup.php:191 (in `Cart\Weight->__construct()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupStartup->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:46 (in `Router->execute()`)
/system/library/cart/weight.php:10 (in `DB->query()`)
/catalog/controller/startup/startup.php:191 (in `Cart\Weight->__construct()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupStartup->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:46 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
13 SELECT * FROM oc_length_class mc LEFT JOIN oc_length_class_description mcd ON (mc.length_class_id = mcd.length_class_id) WHERE mcd.language_id = '1' 1.0439 7.5 TOTAL 17 TTFB
/system/library/cart/length.php:10 (in `DB->query()`)
/catalog/controller/startup/startup.php:194 (in `Cart\Length->__construct()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupStartup->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:46 (in `Router->execute()`)
/system/library/cart/length.php:10 (in `DB->query()`)
/catalog/controller/startup/startup.php:194 (in `Cart\Length->__construct()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupStartup->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:46 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
14 DELETE FROM oc_cart WHERE (api_id > '0' OR customer_id = '0') AND date_added < DATE_SUB(NOW(), INTERVAL 1 HOUR) 0.8256 8.3 TOTAL 20 TTFB
/system/library/cart/cart.php:15 (in `DB->query()`)
/catalog/controller/startup/startup.php:197 (in `Cart\Cart->__construct()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupStartup->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:46 (in `Router->execute()`)
/system/library/cart/cart.php:15 (in `DB->query()`)
/catalog/controller/startup/startup.php:197 (in `Cart\Cart->__construct()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupStartup->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:46 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
15 SELECT * FROM `oc_event` WHERE `trigger` LIKE 'catalog/%' AND status = '1' ORDER BY `sort_order` ASC 1.0642 9.4 TOTAL 22 TTFB
/catalog/model/setting/event.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelSettingEvent->getEvents()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/startup/event.php:7 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupEvent->index()`)
/catalog/model/setting/event.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelSettingEvent->getEvents()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/startup/event.php:7 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupEvent->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:46 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
16 SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'product/special' OR route = 'en-gb') 0.5498 9.9 TOTAL 27 TTFB
/catalog/model/design/translation.php:6 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTranslation->getTranslations()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/translation.php:6 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTranslation->index()`)
/catalog/model/design/translation.php:6 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTranslation->getTranslations()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/translation.php:6 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTranslation->index()`)
/system/engine/event.php:62 (in `Action->execute()`)
/system/storage/modification/system/engine/loader.php:286 (in `Event->trigger()`)
/catalog/controller/product/special.php:4 (in `Loader->language()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
17 SELECT COUNT(DISTINCT ps.product_id) AS total FROM oc_product_special ps LEFT JOIN oc_product p ON (ps.product_id = p.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW())) 1.3336 11.3 TOTAL 30 TTFB
/catalog/model/catalog/product.php:531 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProductSpecials()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/product/special.php:79 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/model/catalog/product.php:531 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProductSpecials()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/product/special.php:79 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
18 SELECT DISTINCT ps.product_id, (SELECT AVG(rating) FROM oc_review r1 WHERE r1.product_id = ps.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating FROM oc_product_special ps LEFT JOIN oc_product p ON (ps.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW())) GROUP BY ps.product_id ORDER BY p.sort_order ASC, LCASE(pd.name) ASC LIMIT 0,15 1.8539 13.1 TOTAL 32 TTFB
/catalog/model/catalog/product.php:250 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getProductSpecials()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/product/special.php:81 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/model/catalog/product.php:250 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getProductSpecials()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/product/special.php:81 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
19 SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_product_discount pd2 WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price FROM oc_product_special ps WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW())) ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points FROM oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_review r1 WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total FROM oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '42' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' 2.4925 15.6 TOTAL 35 TTFB
/catalog/model/catalog/product.php:8 (in `DB->query()`)
/catalog/model/catalog/product.php:253 (in `ModelCatalogProduct->getProduct()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getProductSpecials()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/product/special.php:81 (in `Proxy->__call()`)
/catalog/model/catalog/product.php:8 (in `DB->query()`)
/catalog/model/catalog/product.php:253 (in `ModelCatalogProduct->getProduct()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getProductSpecials()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/product/special.php:81 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
20 SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_product_discount pd2 WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price FROM oc_product_special ps WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW())) ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points FROM oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_review r1 WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total FROM oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '30' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' 1.7446 17.4 TOTAL 37 TTFB
/catalog/model/catalog/product.php:8 (in `DB->query()`)
/catalog/model/catalog/product.php:253 (in `ModelCatalogProduct->getProduct()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getProductSpecials()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/product/special.php:81 (in `Proxy->__call()`)
/catalog/model/catalog/product.php:8 (in `DB->query()`)
/catalog/model/catalog/product.php:253 (in `ModelCatalogProduct->getProduct()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getProductSpecials()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/product/special.php:81 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
21 SELECT * FROM oc_seo_url WHERE `query` = 'product_id=42' AND store_id = '0' AND language_id = '1' 0.7529 18.1 TOTAL 38 TTFB
/catalog/controller/startup/seo_url.php:80 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/product/special.php:126 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:80 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/product/special.php:126 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
22 SELECT * FROM oc_seo_url WHERE `query` = 'product_id=30' AND store_id = '0' AND language_id = '1' 0.3161 18.4 TOTAL 39 TTFB
/catalog/controller/startup/seo_url.php:80 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/product/special.php:126 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:80 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/product/special.php:126 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
2
Controller `common/column_left` >> start
40
/system/storage/modification/system/engine/loader.php:84 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/product/special.php:263 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/storage/modification/system/engine/loader.php:84 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/product/special.php:263 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
2,048
Models called:
1 x `design/layout/getLayout()`
1 x `design/layout/getLayoutModules()`
1 x `design/theme/getTheme()`
SQL: 3 request(s) (#23-25), total duration: ~2 ms
SQL Query 3 request(s), #23-25, total duration: ~2 ms Dur Total TTFB
Trace
23 SELECT * FROM oc_layout_route WHERE 'product/special' LIKE route AND store_id = '0' ORDER BY route DESC LIMIT 1 0.5959 0.6 TOTAL 41 TTFB
/catalog/model/design/layout.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignLayout->getLayout()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/column_left.php:35 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonColumnLeft->index()`)
/catalog/model/design/layout.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignLayout->getLayout()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/column_left.php:35 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonColumnLeft->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:263 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
24 SELECT * FROM oc_layout_module WHERE layout_id = '4' AND position = 'column_left' ORDER BY sort_order 0.5363 1.1 TOTAL 42 TTFB
/catalog/model/design/layout.php:14 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignLayout->getLayoutModules()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/column_left.php:46 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonColumnLeft->index()`)
/catalog/model/design/layout.php:14 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignLayout->getLayoutModules()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/column_left.php:46 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonColumnLeft->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:263 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
25 SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'default' AND route = 'common/column_left' 0.7013 1.8 TOTAL 44 TTFB
/catalog/model/design/theme.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTheme->getTheme()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/theme.php:25 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTheme->index()`)
/catalog/model/design/theme.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTheme->getTheme()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/theme.php:25 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTheme->index()`)
/system/engine/event.php:62 (in `Action->execute()`)
/system/storage/modification/system/engine/loader.php:183 (in `Event->trigger()`)
/catalog/controller/common/column_left.php:72 (in `Loader->view()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonColumnLeft->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:263 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
3
Controller `common/column_left` << end
66
/system/storage/modification/system/engine/loader.php:120 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/product/special.php:263 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/storage/modification/system/engine/loader.php:120 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/product/special.php:263 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
2,048
4
Controller `common/column_right` >> start
66
/system/storage/modification/system/engine/loader.php:84 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/product/special.php:264 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/storage/modification/system/engine/loader.php:84 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/product/special.php:264 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
2,048
Models called:
1 x `design/layout/getLayout()`
1 x `design/layout/getLayoutModules()`
1 x `design/theme/getTheme()`
SQL: 3 request(s) (#26-28), total duration: ~1 ms
SQL Query 3 request(s), #26-28, total duration: ~1 ms Dur Total TTFB
Trace
26 SELECT * FROM oc_layout_route WHERE 'product/special' LIKE route AND store_id = '0' ORDER BY route DESC LIMIT 1 0.1671 0.2 TOTAL 67 TTFB
/catalog/model/design/layout.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignLayout->getLayout()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/column_right.php:35 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonColumnRight->index()`)
/catalog/model/design/layout.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignLayout->getLayout()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/column_right.php:35 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonColumnRight->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:264 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
27 SELECT * FROM oc_layout_module WHERE layout_id = '4' AND position = 'column_right' ORDER BY sort_order 0.6882 0.9 TOTAL 68 TTFB
/catalog/model/design/layout.php:14 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignLayout->getLayoutModules()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/column_right.php:46 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonColumnRight->index()`)
/catalog/model/design/layout.php:14 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignLayout->getLayoutModules()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/column_right.php:46 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonColumnRight->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:264 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
28 SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'default' AND route = 'common/column_right' 0.4766 1.3 TOTAL 68 TTFB
/catalog/model/design/theme.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTheme->getTheme()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/theme.php:25 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTheme->index()`)
/catalog/model/design/theme.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTheme->getTheme()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/theme.php:25 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTheme->index()`)
/system/engine/event.php:62 (in `Action->execute()`)
/system/storage/modification/system/engine/loader.php:183 (in `Event->trigger()`)
/catalog/controller/common/column_right.php:72 (in `Loader->view()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonColumnRight->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:264 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
5
Controller `common/column_right` << end
70
/system/storage/modification/system/engine/loader.php:120 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/product/special.php:264 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/storage/modification/system/engine/loader.php:120 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/product/special.php:264 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
2,048
6
Controller `common/content_top` >> start
70
/system/storage/modification/system/engine/loader.php:84 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/product/special.php:265 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/storage/modification/system/engine/loader.php:84 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/product/special.php:265 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
2,048
Models called:
1 x `design/layout/getLayout()`
1 x `design/layout/getLayoutModules()`
1 x `design/theme/getTheme()`
SQL: 3 request(s) (#29-31), total duration: ~1 ms
SQL Query 3 request(s), #29-31, total duration: ~1 ms Dur Total TTFB
Trace
29 SELECT * FROM oc_layout_route WHERE 'product/special' LIKE route AND store_id = '0' ORDER BY route DESC LIMIT 1 0.1484 0.1 TOTAL 70 TTFB
/catalog/model/design/layout.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignLayout->getLayout()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/content_top.php:35 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonContentTop->index()`)
/catalog/model/design/layout.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignLayout->getLayout()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/content_top.php:35 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonContentTop->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:265 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
30 SELECT * FROM oc_layout_module WHERE layout_id = '4' AND position = 'content_top' ORDER BY sort_order 0.5611 0.7 TOTAL 71 TTFB
/catalog/model/design/layout.php:14 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignLayout->getLayoutModules()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/content_top.php:46 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonContentTop->index()`)
/catalog/model/design/layout.php:14 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignLayout->getLayoutModules()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/content_top.php:46 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonContentTop->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:265 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
31 SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'default' AND route = 'common/content_top' 0.4969 1.2 TOTAL 72 TTFB
/catalog/model/design/theme.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTheme->getTheme()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/theme.php:25 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTheme->index()`)
/catalog/model/design/theme.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTheme->getTheme()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/theme.php:25 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTheme->index()`)
/system/engine/event.php:62 (in `Action->execute()`)
/system/storage/modification/system/engine/loader.php:183 (in `Event->trigger()`)
/catalog/controller/common/content_top.php:72 (in `Loader->view()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonContentTop->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:265 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
7
Controller `common/content_top` << end
74
/system/storage/modification/system/engine/loader.php:120 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/product/special.php:265 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/storage/modification/system/engine/loader.php:120 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/product/special.php:265 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
2,048
8
Controller `common/content_bottom` >> start
74
/system/storage/modification/system/engine/loader.php:84 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/product/special.php:266 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/storage/modification/system/engine/loader.php:84 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/product/special.php:266 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
2,048
Models called:
1 x `design/layout/getLayout()`
1 x `design/layout/getLayoutModules()`
1 x `design/theme/getTheme()`
SQL: 3 request(s) (#32-34), total duration: ~1 ms
SQL Query 3 request(s), #32-34, total duration: ~1 ms Dur Total TTFB
Trace
32 SELECT * FROM oc_layout_route WHERE 'product/special' LIKE route AND store_id = '0' ORDER BY route DESC LIMIT 1 0.1142 0.1 TOTAL 75 TTFB
/catalog/model/design/layout.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignLayout->getLayout()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/content_bottom.php:35 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonContentBottom->index()`)
/catalog/model/design/layout.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignLayout->getLayout()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/content_bottom.php:35 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonContentBottom->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:266 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
33 SELECT * FROM oc_layout_module WHERE layout_id = '4' AND position = 'content_bottom' ORDER BY sort_order 0.4037 0.5 TOTAL 75 TTFB
/catalog/model/design/layout.php:14 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignLayout->getLayoutModules()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/content_bottom.php:46 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonContentBottom->index()`)
/catalog/model/design/layout.php:14 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignLayout->getLayoutModules()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/content_bottom.php:46 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonContentBottom->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:266 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
34 SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'default' AND route = 'common/content_bottom' 0.3182 0.8 TOTAL 76 TTFB
/catalog/model/design/theme.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTheme->getTheme()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/theme.php:25 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTheme->index()`)
/catalog/model/design/theme.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTheme->getTheme()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/theme.php:25 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTheme->index()`)
/system/engine/event.php:62 (in `Action->execute()`)
/system/storage/modification/system/engine/loader.php:183 (in `Event->trigger()`)
/catalog/controller/common/content_bottom.php:72 (in `Loader->view()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonContentBottom->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:266 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
9
Controller `common/content_bottom` << end
77
/system/storage/modification/system/engine/loader.php:120 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/product/special.php:266 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/storage/modification/system/engine/loader.php:120 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/product/special.php:266 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
2,048
10
Controller `common/footer` >> start
77
/system/storage/modification/system/engine/loader.php:84 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/product/special.php:267 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/storage/modification/system/engine/loader.php:84 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/product/special.php:267 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
2,048
Models called:
1 x `catalog/information/getInformations()`
1 x `design/theme/getTheme()`
1 x `design/translation/getTranslations()`
SQL: 7 request(s) (#35-41), total duration: ~4 ms
SQL Query 7 request(s), #35-41, total duration: ~4 ms Dur Total TTFB
Trace
35 SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/footer' OR route = 'en-gb') 0.3125 0.3 TOTAL 78 TTFB
/catalog/model/design/translation.php:6 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTranslation->getTranslations()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/translation.php:6 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTranslation->index()`)
/catalog/model/design/translation.php:6 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTranslation->getTranslations()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/translation.php:6 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTranslation->index()`)
/system/engine/event.php:62 (in `Action->execute()`)
/system/storage/modification/system/engine/loader.php:286 (in `Event->trigger()`)
/catalog/controller/common/footer.php:4 (in `Loader->language()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonFooter->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:267 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
36 SELECT * FROM oc_information i LEFT JOIN oc_information_description id ON (i.information_id = id.information_id) LEFT JOIN oc_information_to_store i2s ON (i.information_id = i2s.information_id) WHERE id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1' ORDER BY i.sort_order, LCASE(id.title) ASC 1.34 1.7 TOTAL 79 TTFB
/catalog/model/catalog/information.php:10 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogInformation->getInformations()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/footer.php:10 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonFooter->index()`)
/catalog/model/catalog/information.php:10 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogInformation->getInformations()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/footer.php:10 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonFooter->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:267 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
37 SELECT * FROM oc_seo_url WHERE `query` = 'information_id=4' AND store_id = '0' AND language_id = '1' 0.3925 2 TOTAL 80 TTFB
/catalog/controller/startup/seo_url.php:80 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/footer.php:14 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonFooter->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:80 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/footer.php:14 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonFooter->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:267 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
38 SELECT * FROM oc_seo_url WHERE `query` = 'information_id=6' AND store_id = '0' AND language_id = '1' 0.3913 2.4 TOTAL 81 TTFB
/catalog/controller/startup/seo_url.php:80 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/footer.php:14 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonFooter->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:80 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/footer.php:14 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonFooter->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:267 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
39 SELECT * FROM oc_seo_url WHERE `query` = 'information_id=3' AND store_id = '0' AND language_id = '1' 0.5932 3 TOTAL 81 TTFB
/catalog/controller/startup/seo_url.php:80 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/footer.php:14 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonFooter->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:80 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/footer.php:14 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonFooter->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:267 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
40 SELECT * FROM oc_seo_url WHERE `query` = 'information_id=5' AND store_id = '0' AND language_id = '1' 0.3518 3.4 TOTAL 82 TTFB
/catalog/controller/startup/seo_url.php:80 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/footer.php:14 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonFooter->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:80 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/footer.php:14 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonFooter->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:267 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
41 SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'default' AND route = 'common/footer' 0.2743 3.7 TOTAL 82 TTFB
/catalog/model/design/theme.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTheme->getTheme()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/theme.php:25 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTheme->index()`)
/catalog/model/design/theme.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTheme->getTheme()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/theme.php:25 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTheme->index()`)
/system/engine/event.php:62 (in `Action->execute()`)
/system/storage/modification/system/engine/loader.php:183 (in `Event->trigger()`)
/catalog/controller/common/footer.php:62 (in `Loader->view()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonFooter->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:267 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
11
Controller `common/footer` << end
87
/system/storage/modification/system/engine/loader.php:120 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/product/special.php:267 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/storage/modification/system/engine/loader.php:120 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/product/special.php:267 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
12
Controller `common/header` >> start
87
/system/storage/modification/system/engine/loader.php:84 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/storage/modification/system/engine/loader.php:84 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `design/translation/getTranslations()`
1 x `setting/extension/getExtensions()`
SQL: 2 request(s) (#42-43), total duration: ~1 ms
SQL Query 2 request(s), #42-43, total duration: ~1 ms Dur Total TTFB
Trace
42 SELECT * FROM oc_extension WHERE `type` = 'analytics' 0.7995 0.8 TOTAL 88 TTFB
/catalog/model/setting/extension.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelSettingExtension->getExtensions()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/header.php:9 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/model/setting/extension.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelSettingExtension->getExtensions()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/header.php:9 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
43 SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/header' OR route = 'en-gb') 0.3963 1.2 TOTAL 89 TTFB
/catalog/model/design/translation.php:6 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTranslation->getTranslations()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/translation.php:6 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTranslation->index()`)
/catalog/model/design/translation.php:6 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTranslation->getTranslations()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/translation.php:6 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTranslation->index()`)
/system/engine/event.php:62 (in `Action->execute()`)
/system/storage/modification/system/engine/loader.php:286 (in `Event->trigger()`)
/catalog/controller/common/header.php:46 (in `Loader->language()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
13
{common/header}

Controller `common/language` >> start
89
/system/storage/modification/system/engine/loader.php:84 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/common/header.php:74 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/loader.php:84 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/common/header.php:74 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `design/theme/getTheme()`
1 x `design/translation/getTranslations()`
1 x `localisation/language/getLanguages()`
SQL: 2 request(s) (#44-45), total duration: ~1 ms
SQL Query 2 request(s), #44-45, total duration: ~1 ms Dur Total TTFB
Trace
44 SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/language' OR route = 'en-gb') 0.288 0.3 TOTAL 90 TTFB
/catalog/model/design/translation.php:6 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTranslation->getTranslations()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/translation.php:6 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTranslation->index()`)
/catalog/model/design/translation.php:6 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTranslation->getTranslations()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/translation.php:6 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTranslation->index()`)
/system/engine/event.php:62 (in `Action->execute()`)
/system/storage/modification/system/engine/loader.php:286 (in `Event->trigger()`)
/catalog/controller/common/language.php:4 (in `Loader->language()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonLanguage->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:74 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
45 SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'default' AND route = 'common/language' 0.3952 0.7 TOTAL 91 TTFB
/catalog/model/design/theme.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTheme->getTheme()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/theme.php:25 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTheme->index()`)
/catalog/model/design/theme.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTheme->getTheme()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/theme.php:25 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTheme->index()`)
/system/engine/event.php:62 (in `Action->execute()`)
/system/storage/modification/system/engine/loader.php:183 (in `Event->trigger()`)
/catalog/controller/common/language.php:45 (in `Loader->view()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonLanguage->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:74 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
14
{common/header}

Controller `common/language` << end
98
/system/storage/modification/system/engine/loader.php:120 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/common/header.php:74 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/loader.php:120 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/common/header.php:74 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
15
{common/header}

Controller `common/currency` >> start
98
/system/storage/modification/system/engine/loader.php:84 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/common/header.php:75 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/loader.php:84 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/common/header.php:75 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `design/theme/getTheme()`
1 x `design/translation/getTranslations()`
1 x `localisation/currency/getCurrencies()`
SQL: 2 request(s) (#46-47), total duration: ~1 ms
SQL Query 2 request(s), #46-47, total duration: ~1 ms Dur Total TTFB
Trace
46 SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/currency' OR route = 'en-gb') 0.3462 0.3 TOTAL 99 TTFB
/catalog/model/design/translation.php:6 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTranslation->getTranslations()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/translation.php:6 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTranslation->index()`)
/catalog/model/design/translation.php:6 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTranslation->getTranslations()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/translation.php:6 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTranslation->index()`)
/system/engine/event.php:62 (in `Action->execute()`)
/system/storage/modification/system/engine/loader.php:286 (in `Event->trigger()`)
/catalog/controller/common/currency.php:4 (in `Loader->language()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonCurrency->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:75 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
47 SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'default' AND route = 'common/currency' 0.2945 0.6 TOTAL 99 TTFB
/catalog/model/design/theme.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTheme->getTheme()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/theme.php:25 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTheme->index()`)
/catalog/model/design/theme.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTheme->getTheme()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/theme.php:25 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTheme->index()`)
/system/engine/event.php:62 (in `Action->execute()`)
/system/storage/modification/system/engine/loader.php:183 (in `Event->trigger()`)
/catalog/controller/common/currency.php:47 (in `Loader->view()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonCurrency->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:75 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
16
{common/header}

Controller `common/currency` << end
101
/system/storage/modification/system/engine/loader.php:120 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/common/header.php:75 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/loader.php:120 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/common/header.php:75 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
17
{common/header}

Controller `common/search` >> start
101
/system/storage/modification/system/engine/loader.php:84 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/common/header.php:76 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/loader.php:84 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/common/header.php:76 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `design/theme/getTheme()`
1 x `design/translation/getTranslations()`
SQL: 2 request(s) (#48-49), total duration: ~1 ms
SQL Query 2 request(s), #48-49, total duration: ~1 ms Dur Total TTFB
Trace
48 SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/search' OR route = 'en-gb') 0.4818 0.5 TOTAL 102 TTFB
/catalog/model/design/translation.php:6 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTranslation->getTranslations()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/translation.php:6 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTranslation->index()`)
/catalog/model/design/translation.php:6 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTranslation->getTranslations()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/translation.php:6 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTranslation->index()`)
/system/engine/event.php:62 (in `Action->execute()`)
/system/storage/modification/system/engine/loader.php:286 (in `Event->trigger()`)
/catalog/controller/common/search.php:4 (in `Loader->language()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonSearch->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:76 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
49 SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'default' AND route = 'common/search' 0.3358 0.8 TOTAL 103 TTFB
/catalog/model/design/theme.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTheme->getTheme()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/theme.php:25 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTheme->index()`)
/catalog/model/design/theme.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTheme->getTheme()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/theme.php:25 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTheme->index()`)
/system/engine/event.php:62 (in `Action->execute()`)
/system/storage/modification/system/engine/loader.php:183 (in `Event->trigger()`)
/catalog/controller/common/search.php:14 (in `Loader->view()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonSearch->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:76 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
18
{common/header}

Controller `common/search` << end
103
/system/storage/modification/system/engine/loader.php:120 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/common/header.php:76 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/loader.php:120 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/common/header.php:76 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
19
{common/header}

Controller `common/cart` >> start
103
/system/storage/modification/system/engine/loader.php:84 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/common/header.php:77 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/loader.php:84 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/common/header.php:77 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
4 x `design/translation/getTranslations()`
1 x `design/theme/getTheme()`
1 x `extension/total/coupon/getTotal()`
1 x `extension/total/credit/getTotal()`
1 x `extension/total/reward/getTotal()`
1 x `extension/total/shipping/getTotal()`
1 x `extension/total/sub_total/getTotal()`
1 x `extension/total/tax/getTotal()`
1 x `extension/total/total/getTotal()`
1 x `extension/total/voucher/getTotal()`
1 x `setting/extension/getExtensions()`
SQL: 12 request(s) (#50-61), total duration: ~4 ms
SQL Query 12 request(s), #50-61, total duration: ~4 ms Dur Total TTFB
Trace
50 SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/cart' OR route = 'en-gb') 0.4705 0.5 TOTAL 104 TTFB
/catalog/model/design/translation.php:6 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTranslation->getTranslations()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/translation.php:6 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTranslation->index()`)
/catalog/model/design/translation.php:6 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTranslation->getTranslations()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/translation.php:6 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTranslation->index()`)
/system/engine/event.php:62 (in `Action->execute()`)
/system/storage/modification/system/engine/loader.php:286 (in `Event->trigger()`)
/catalog/controller/common/cart.php:4 (in `Loader->language()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonCart->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:77 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
51 SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = 'b41375c65fda945a945adfc639' 0.3916 0.9 TOTAL 105 TTFB
/system/library/cart/cart.php:36 (in `DB->query()`)
/system/library/cart/cart.php:331 (in `Cart\Cart->getProducts()`)
/catalog/controller/common/cart.php:10 (in `Cart\Cart->getTaxes()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonCart->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/system/library/cart/cart.php:36 (in `DB->query()`)
/system/library/cart/cart.php:331 (in `Cart\Cart->getProducts()`)
/catalog/controller/common/cart.php:10 (in `Cart\Cart->getTaxes()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonCart->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:77 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
52 SELECT * FROM oc_extension WHERE `type` = 'total' 0.29 1.2 TOTAL 105 TTFB
/catalog/model/setting/extension.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelSettingExtension->getExtensions()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/cart.php:24 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonCart->index()`)
/catalog/model/setting/extension.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelSettingExtension->getExtensions()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/cart.php:24 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonCart->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:77 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
53 SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/total/sub_total' OR route = 'en-gb') 0.402 1.6 TOTAL 106 TTFB
/catalog/model/design/translation.php:6 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTranslation->getTranslations()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/translation.php:6 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTranslation->index()`)
/catalog/model/design/translation.php:6 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTranslation->getTranslations()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/translation.php:6 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTranslation->index()`)
/system/engine/event.php:62 (in `Action->execute()`)
/system/storage/modification/system/engine/loader.php:286 (in `Event->trigger()`)
/catalog/model/extension/total/sub_total.php:4 (in `Loader->language()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelExtensionTotalSubTotal->getTotal()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/cart.php:37 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonCart->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:77 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
54 SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = 'b41375c65fda945a945adfc639' 0.1621 1.7 TOTAL 106 TTFB
/system/library/cart/cart.php:36 (in `DB->query()`)
/system/library/cart/cart.php:321 (in `Cart\Cart->getProducts()`)
/catalog/model/extension/total/sub_total.php:6 (in `Cart\Cart->getSubTotal()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelExtensionTotalSubTotal->getTotal()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/system/library/cart/cart.php:36 (in `DB->query()`)
/system/library/cart/cart.php:321 (in `Cart\Cart->getProducts()`)
/catalog/model/extension/total/sub_total.php:6 (in `Cart\Cart->getSubTotal()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelExtensionTotalSubTotal->getTotal()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/cart.php:37 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonCart->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:77 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
55 SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = 'b41375c65fda945a945adfc639' 0.1578 1.9 TOTAL 107 TTFB
/system/library/cart/cart.php:36 (in `DB->query()`)
/system/library/cart/cart.php:389 (in `Cart\Cart->getProducts()`)
/catalog/model/extension/total/shipping.php:4 (in `Cart\Cart->hasShipping()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelExtensionTotalShipping->getTotal()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/system/library/cart/cart.php:36 (in `DB->query()`)
/system/library/cart/cart.php:389 (in `Cart\Cart->getProducts()`)
/catalog/model/extension/total/shipping.php:4 (in `Cart\Cart->hasShipping()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelExtensionTotalShipping->getTotal()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/cart.php:37 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonCart->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:77 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
56 SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/total/credit' OR route = 'en-gb') 0.4088 2.3 TOTAL 109 TTFB
/catalog/model/design/translation.php:6 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTranslation->getTranslations()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/translation.php:6 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTranslation->index()`)
/catalog/model/design/translation.php:6 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTranslation->getTranslations()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/translation.php:6 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTranslation->index()`)
/system/engine/event.php:62 (in `Action->execute()`)
/system/storage/modification/system/engine/loader.php:286 (in `Event->trigger()`)
/catalog/model/extension/total/credit.php:4 (in `Loader->language()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelExtensionTotalCredit->getTotal()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/cart.php:37 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonCart->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:77 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
57 SELECT SUM(amount) AS total FROM oc_customer_transaction WHERE customer_id = '0' 0.7116 3 TOTAL 110 TTFB
/system/library/cart/customer.php:122 (in `DB->query()`)
/catalog/model/extension/total/credit.php:6 (in `Cart\Customer->getBalance()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelExtensionTotalCredit->getTotal()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/cart.php:37 (in `Proxy->__call()`)
/system/library/cart/customer.php:122 (in `DB->query()`)
/catalog/model/extension/total/credit.php:6 (in `Cart\Customer->getBalance()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelExtensionTotalCredit->getTotal()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/cart.php:37 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonCart->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:77 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
58 SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/total/total' OR route = 'en-gb') 0.361 3.4 TOTAL 111 TTFB
/catalog/model/design/translation.php:6 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTranslation->getTranslations()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/translation.php:6 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTranslation->index()`)
/catalog/model/design/translation.php:6 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTranslation->getTranslations()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/translation.php:6 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTranslation->index()`)
/system/engine/event.php:62 (in `Action->execute()`)
/system/storage/modification/system/engine/loader.php:286 (in `Event->trigger()`)
/catalog/model/extension/total/total.php:4 (in `Loader->language()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelExtensionTotalTotal->getTotal()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/cart.php:37 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonCart->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:77 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
59 SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = 'b41375c65fda945a945adfc639' 0.0667 3.4 TOTAL 112 TTFB
/system/library/cart/cart.php:36 (in `DB->query()`)
/system/library/cart/cart.php:361 (in `Cart\Cart->getProducts()`)
/catalog/controller/common/cart.php:50 (in `Cart\Cart->countProducts()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonCart->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/system/library/cart/cart.php:36 (in `DB->query()`)
/system/library/cart/cart.php:361 (in `Cart\Cart->getProducts()`)
/catalog/controller/common/cart.php:50 (in `Cart\Cart->countProducts()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonCart->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:77 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
60 SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = 'b41375c65fda945a945adfc639' 0.0792 3.5 TOTAL 112 TTFB
/system/library/cart/cart.php:36 (in `DB->query()`)
/catalog/controller/common/cart.php:57 (in `Cart\Cart->getProducts()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonCart->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:77 (in `Loader->controller()`)
/system/library/cart/cart.php:36 (in `DB->query()`)
/catalog/controller/common/cart.php:57 (in `Cart\Cart->getProducts()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonCart->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:77 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
61 SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'default' AND route = 'common/cart' 0.289 3.8 TOTAL 112 TTFB
/catalog/model/design/theme.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTheme->getTheme()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/theme.php:25 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTheme->index()`)
/catalog/model/design/theme.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTheme->getTheme()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/theme.php:25 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTheme->index()`)
/system/engine/event.php:62 (in `Action->execute()`)
/system/storage/modification/system/engine/loader.php:183 (in `Event->trigger()`)
/catalog/controller/common/cart.php:136 (in `Loader->view()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonCart->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:77 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
20
{common/header}

Controller `common/cart` << end
117
/system/storage/modification/system/engine/loader.php:120 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/common/header.php:77 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/loader.php:120 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/common/header.php:77 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
21
{common/header}

Controller `common/menu` >> start
117
/system/storage/modification/system/engine/loader.php:84 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/loader.php:84 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
2 x `catalog/category/getCategories()`
1 x `design/translation/getTranslations()`
SQL: 3 request(s) (#62-64), total duration: ~3 ms
SQL Query 3 request(s), #62-64, total duration: ~3 ms Dur Total TTFB
Trace
62 SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/menu' OR route = 'en-gb') 0.3536 0.4 TOTAL 118 TTFB
/catalog/model/design/translation.php:6 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTranslation->getTranslations()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/translation.php:6 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTranslation->index()`)
/catalog/model/design/translation.php:6 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTranslation->getTranslations()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/translation.php:6 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTranslation->index()`)
/system/engine/event.php:62 (in `Action->execute()`)
/system/storage/modification/system/engine/loader.php:286 (in `Event->trigger()`)
/catalog/controller/common/menu.php:4 (in `Loader->language()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
63 SELECT * FROM oc_category c LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id) LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id) WHERE c.parent_id = '0' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1' ORDER BY c.sort_order, LCASE(cd.name) 1.3997 1.8 TOTAL 120 TTFB
/catalog/model/catalog/category.php:10 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogCategory->getCategories()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:13 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/category.php:10 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogCategory->getCategories()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:13 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
64 SELECT * FROM oc_category c LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id) LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id) WHERE c.parent_id = '20' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1' ORDER BY c.sort_order, LCASE(cd.name) 1.0132 2.8 TOTAL 121 TTFB
/catalog/model/catalog/category.php:10 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogCategory->getCategories()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:20 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/category.php:10 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogCategory->getCategories()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:20 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
22
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 26
121
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#65-67), total duration: ~3 ms
SQL Query 3 request(s), #65-67, total duration: ~3 ms Dur Total TTFB
Trace
65 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '26' 1.5494 1.5 TOTAL 123 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
66 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=20' AND store_id = '0' AND language_id = '1' 0.6148 2.2 TOTAL 124 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
67 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=26' AND store_id = '0' AND language_id = '1' 0.6903 2.9 TOTAL 124 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
23
{common/header}
{common/menu}

...after `getTotalProducts()`
124
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
24
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 27
124
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#68-70), total duration: ~1 ms
SQL Query 3 request(s), #68-70, total duration: ~1 ms Dur Total TTFB
Trace
68 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '27' 0.6004 0.6 TOTAL 125 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
69 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=20' AND store_id = '0' AND language_id = '1' 0.076 0.7 TOTAL 125 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
70 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=27' AND store_id = '0' AND language_id = '1' 0.3342 1 TOTAL 126 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
25
{common/header}
{common/menu}

...after `getTotalProducts()`
126
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/category/getCategories()`
SQL: 2 request(s) (#71-72), total duration: ~1 ms
SQL Query 2 request(s), #71-72, total duration: ~1 ms Dur Total TTFB
Trace
71 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=20' AND store_id = '0' AND language_id = '1' 0.0712 0.1 TOTAL 126 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:43 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:43 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
72 SELECT * FROM oc_category c LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id) LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id) WHERE c.parent_id = '18' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1' ORDER BY c.sort_order, LCASE(cd.name) 0.7791 0.9 TOTAL 127 TTFB
/catalog/model/catalog/category.php:10 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogCategory->getCategories()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:20 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/category.php:10 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogCategory->getCategories()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:20 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
26
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 46
127
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#73-75), total duration: ~1 ms
SQL Query 3 request(s), #73-75, total duration: ~1 ms Dur Total TTFB
Trace
73 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '46' 0.6008 0.6 TOTAL 127 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
74 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=18' AND store_id = '0' AND language_id = '1' 0.3488 0.9 TOTAL 128 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
75 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=46' AND store_id = '0' AND language_id = '1' 0.302 1.3 TOTAL 128 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
27
{common/header}
{common/menu}

...after `getTotalProducts()`
128
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
28
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 45
128
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#76-78), total duration: ~1 ms
SQL Query 3 request(s), #76-78, total duration: ~1 ms Dur Total TTFB
Trace
76 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '45' 0.5673 0.6 TOTAL 129 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
77 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=18' AND store_id = '0' AND language_id = '1' 0.0754 0.6 TOTAL 129 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
78 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=45' AND store_id = '0' AND language_id = '1' 0.3924 1 TOTAL 129 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
29
{common/header}
{common/menu}

...after `getTotalProducts()`
129
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/category/getCategories()`
SQL: 2 request(s) (#79-80), total duration: ~1 ms
SQL Query 2 request(s), #79-80, total duration: ~1 ms Dur Total TTFB
Trace
79 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=18' AND store_id = '0' AND language_id = '1' 0.0826 0.1 TOTAL 130 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:43 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:43 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
80 SELECT * FROM oc_category c LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id) LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id) WHERE c.parent_id = '25' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1' ORDER BY c.sort_order, LCASE(cd.name) 1.2636 1.3 TOTAL 131 TTFB
/catalog/model/catalog/category.php:10 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogCategory->getCategories()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:20 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/category.php:10 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogCategory->getCategories()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:20 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
30
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 29
131
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#81-83), total duration: ~2 ms
SQL Query 3 request(s), #81-83, total duration: ~2 ms Dur Total TTFB
Trace
81 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '29' 0.7925 0.8 TOTAL 132 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
82 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=25' AND store_id = '0' AND language_id = '1' 0.4279 1.2 TOTAL 133 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
83 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=29' AND store_id = '0' AND language_id = '1' 0.423 1.6 TOTAL 133 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
31
{common/header}
{common/menu}

...after `getTotalProducts()`
133
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
32
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 28
133
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#84-86), total duration: ~1 ms
SQL Query 3 request(s), #84-86, total duration: ~1 ms Dur Total TTFB
Trace
84 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '28' 0.6375 0.6 TOTAL 134 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
85 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=25' AND store_id = '0' AND language_id = '1' 0.116 0.8 TOTAL 134 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
86 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=28' AND store_id = '0' AND language_id = '1' 0.6305 1.4 TOTAL 135 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
33
{common/header}
{common/menu}

...after `getTotalProducts()`
135
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
34
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 30
135
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#87-89), total duration: ~1 ms
SQL Query 3 request(s), #87-89, total duration: ~1 ms Dur Total TTFB
Trace
87 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '30' 0.6284 0.6 TOTAL 135 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
88 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=25' AND store_id = '0' AND language_id = '1' 0.0572 0.7 TOTAL 136 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
89 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=30' AND store_id = '0' AND language_id = '1' 0.3543 1 TOTAL 136 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
35
{common/header}
{common/menu}

...after `getTotalProducts()`
136
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
36
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 31
136
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#90-92), total duration: ~1 ms
SQL Query 3 request(s), #90-92, total duration: ~1 ms Dur Total TTFB
Trace
90 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '31' 0.6707 0.7 TOTAL 137 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
91 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=25' AND store_id = '0' AND language_id = '1' 0.061 0.7 TOTAL 137 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
92 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=31' AND store_id = '0' AND language_id = '1' 0.3843 1.1 TOTAL 137 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
37
{common/header}
{common/menu}

...after `getTotalProducts()`
137
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
38
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 32
137
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#93-95), total duration: ~1 ms
SQL Query 3 request(s), #93-95, total duration: ~1 ms Dur Total TTFB
Trace
93 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '32' 0.5018 0.5 TOTAL 138 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
94 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=25' AND store_id = '0' AND language_id = '1' 0.058 0.6 TOTAL 138 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
95 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=32' AND store_id = '0' AND language_id = '1' 0.3286 0.9 TOTAL 138 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
39
{common/header}
{common/menu}

...after `getTotalProducts()`
138
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
5 x `catalog/category/getCategories()`
SQL: 10 request(s) (#96-105), total duration: ~5 ms
SQL Query 10 request(s), #96-105, total duration: ~5 ms Dur Total TTFB
Trace
96 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=25' AND store_id = '0' AND language_id = '1' 0.0565 0.1 TOTAL 138 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:43 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:43 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
97 SELECT * FROM oc_category c LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id) LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id) WHERE c.parent_id = '57' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1' ORDER BY c.sort_order, LCASE(cd.name) 0.7959 0.9 TOTAL 139 TTFB
/catalog/model/catalog/category.php:10 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogCategory->getCategories()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:20 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/category.php:10 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogCategory->getCategories()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:20 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
98 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=57' AND store_id = '0' AND language_id = '1' 0.3412 1.2 TOTAL 140 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:43 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:43 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
99 SELECT * FROM oc_category c LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id) LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id) WHERE c.parent_id = '17' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1' ORDER BY c.sort_order, LCASE(cd.name) 0.654 1.8 TOTAL 140 TTFB
/catalog/model/catalog/category.php:10 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogCategory->getCategories()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:20 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/category.php:10 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogCategory->getCategories()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:20 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
100 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=17' AND store_id = '0' AND language_id = '1' 0.3449 2.2 TOTAL 141 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:43 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:43 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
101 SELECT * FROM oc_category c LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id) LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id) WHERE c.parent_id = '24' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1' ORDER BY c.sort_order, LCASE(cd.name) 0.898 3.1 TOTAL 142 TTFB
/catalog/model/catalog/category.php:10 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogCategory->getCategories()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:20 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/category.php:10 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogCategory->getCategories()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:20 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
102 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=24' AND store_id = '0' AND language_id = '1' 0.3955 3.5 TOTAL 142 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:43 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:43 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
103 SELECT * FROM oc_category c LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id) LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id) WHERE c.parent_id = '33' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1' ORDER BY c.sort_order, LCASE(cd.name) 0.6009 4.1 TOTAL 143 TTFB
/catalog/model/catalog/category.php:10 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogCategory->getCategories()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:20 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/category.php:10 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogCategory->getCategories()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:20 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
104 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=33' AND store_id = '0' AND language_id = '1' 0.3324 4.4 TOTAL 143 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:43 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:43 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
105 SELECT * FROM oc_category c LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id) LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id) WHERE c.parent_id = '34' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1' ORDER BY c.sort_order, LCASE(cd.name) 0.8343 5.3 TOTAL 144 TTFB
/catalog/model/catalog/category.php:10 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogCategory->getCategories()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:20 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/category.php:10 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogCategory->getCategories()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:20 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
40
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 43
144
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#106-108), total duration: ~1 ms
SQL Query 3 request(s), #106-108, total duration: ~1 ms Dur Total TTFB
Trace
106 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '43' 0.4939 0.5 TOTAL 145 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
107 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=34' AND store_id = '0' AND language_id = '1' 0.3243 0.8 TOTAL 145 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
108 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=43' AND store_id = '0' AND language_id = '1' 0.3195 1.1 TOTAL 146 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
41
{common/header}
{common/menu}

...after `getTotalProducts()`
146
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
42
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 44
146
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#109-111), total duration: ~1 ms
SQL Query 3 request(s), #109-111, total duration: ~1 ms Dur Total TTFB
Trace
109 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '44' 0.7408 0.7 TOTAL 146 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
110 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=34' AND store_id = '0' AND language_id = '1' 0.066 0.8 TOTAL 146 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
111 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=44' AND store_id = '0' AND language_id = '1' 0.3751 1.2 TOTAL 147 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
43
{common/header}
{common/menu}

...after `getTotalProducts()`
147
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
44
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 47
147
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#112-114), total duration: ~1 ms
SQL Query 3 request(s), #112-114, total duration: ~1 ms Dur Total TTFB
Trace
112 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '47' 0.5772 0.6 TOTAL 148 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
113 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=34' AND store_id = '0' AND language_id = '1' 0.1454 0.7 TOTAL 148 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
114 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=47' AND store_id = '0' AND language_id = '1' 0.384 1.1 TOTAL 148 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
45
{common/header}
{common/menu}

...after `getTotalProducts()`
148
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
46
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 48
148
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#115-117), total duration: ~1 ms
SQL Query 3 request(s), #115-117, total duration: ~1 ms Dur Total TTFB
Trace
115 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '48' 0.5397 0.5 TOTAL 149 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
116 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=34' AND store_id = '0' AND language_id = '1' 0.0669 0.6 TOTAL 149 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
117 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=48' AND store_id = '0' AND language_id = '1' 0.379 1 TOTAL 149 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
47
{common/header}
{common/menu}

...after `getTotalProducts()`
149
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
48
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 49
149
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#118-120), total duration: ~1 ms
SQL Query 3 request(s), #118-120, total duration: ~1 ms Dur Total TTFB
Trace
118 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '49' 0.6799 0.7 TOTAL 150 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
119 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=34' AND store_id = '0' AND language_id = '1' 0.0665 0.7 TOTAL 150 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
120 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=49' AND store_id = '0' AND language_id = '1' 0.3855 1.1 TOTAL 151 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
49
{common/header}
{common/menu}

...after `getTotalProducts()`
151
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
50
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 50
151
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#121-123), total duration: ~1 ms
SQL Query 3 request(s), #121-123, total duration: ~1 ms Dur Total TTFB
Trace
121 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '50' 0.5968 0.6 TOTAL 151 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
122 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=34' AND store_id = '0' AND language_id = '1' 0.0651 0.7 TOTAL 152 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
123 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=50' AND store_id = '0' AND language_id = '1' 0.6065 1.3 TOTAL 152 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
51
{common/header}
{common/menu}

...after `getTotalProducts()`
152
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
52
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 51
152
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#124-126), total duration: ~1 ms
SQL Query 3 request(s), #124-126, total duration: ~1 ms Dur Total TTFB
Trace
124 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '51' 0.6237 0.6 TOTAL 153 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
125 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=34' AND store_id = '0' AND language_id = '1' 0.074 0.7 TOTAL 153 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
126 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=51' AND store_id = '0' AND language_id = '1' 0.3769 1.1 TOTAL 154 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
53
{common/header}
{common/menu}

...after `getTotalProducts()`
154
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
54
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 52
154
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#127-129), total duration: ~1 ms
SQL Query 3 request(s), #127-129, total duration: ~1 ms Dur Total TTFB
Trace
127 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '52' 0.7557 0.8 TOTAL 155 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
128 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=34' AND store_id = '0' AND language_id = '1' 0.0627 0.8 TOTAL 155 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
129 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=52' AND store_id = '0' AND language_id = '1' 0.3526 1.2 TOTAL 155 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
55
{common/header}
{common/menu}

...after `getTotalProducts()`
155
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
56
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 53
155
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#130-132), total duration: ~1 ms
SQL Query 3 request(s), #130-132, total duration: ~1 ms Dur Total TTFB
Trace
130 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '53' 0.5711 0.6 TOTAL 156 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
131 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=34' AND store_id = '0' AND language_id = '1' 0.1081 0.7 TOTAL 156 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
132 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=53' AND store_id = '0' AND language_id = '1' 0.7447 1.4 TOTAL 157 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
57
{common/header}
{common/menu}

...after `getTotalProducts()`
157
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
58
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 54
157
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#133-135), total duration: ~2 ms
SQL Query 3 request(s), #133-135, total duration: ~2 ms Dur Total TTFB
Trace
133 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '54' 0.9247 0.9 TOTAL 158 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
134 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=34' AND store_id = '0' AND language_id = '1' 0.1235 1 TOTAL 158 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
135 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=54' AND store_id = '0' AND language_id = '1' 0.6694 1.7 TOTAL 159 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
59
{common/header}
{common/menu}

...after `getTotalProducts()`
159
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
60
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 55
159
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#136-138), total duration: ~2 ms
SQL Query 3 request(s), #136-138, total duration: ~2 ms Dur Total TTFB
Trace
136 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '55' 0.8894 0.9 TOTAL 160 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
137 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=34' AND store_id = '0' AND language_id = '1' 0.1886 1.1 TOTAL 160 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
138 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=55' AND store_id = '0' AND language_id = '1' 0.5594 1.6 TOTAL 161 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
61
{common/header}
{common/menu}

...after `getTotalProducts()`
161
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
62
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 56
161
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#139-141), total duration: ~2 ms
SQL Query 3 request(s), #139-141, total duration: ~2 ms Dur Total TTFB
Trace
139 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '56' 0.8256 0.8 TOTAL 162 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
140 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=34' AND store_id = '0' AND language_id = '1' 0.1289 1 TOTAL 162 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
141 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=56' AND store_id = '0' AND language_id = '1' 0.6405 1.6 TOTAL 163 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
63
{common/header}
{common/menu}

...after `getTotalProducts()`
163
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
64
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 38
163
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#142-144), total duration: ~1 ms
SQL Query 3 request(s), #142-144, total duration: ~1 ms Dur Total TTFB
Trace
142 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '38' 0.6075 0.6 TOTAL 164 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
143 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=34' AND store_id = '0' AND language_id = '1' 0.113 0.7 TOTAL 164 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
144 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=38' AND store_id = '0' AND language_id = '1' 0.4144 1.1 TOTAL 165 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
65
{common/header}
{common/menu}

...after `getTotalProducts()`
165
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
66
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 37
165
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#145-147), total duration: ~1 ms
SQL Query 3 request(s), #145-147, total duration: ~1 ms Dur Total TTFB
Trace
145 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '37' 0.4642 0.5 TOTAL 165 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
146 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=34' AND store_id = '0' AND language_id = '1' 0.0615 0.5 TOTAL 165 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
147 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=37' AND store_id = '0' AND language_id = '1' 0.428 1 TOTAL 166 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
67
{common/header}
{common/menu}

...after `getTotalProducts()`
166
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
68
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 39
166
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#148-150), total duration: ~1 ms
SQL Query 3 request(s), #148-150, total duration: ~1 ms Dur Total TTFB
Trace
148 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '39' 0.823 0.8 TOTAL 167 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
149 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=34' AND store_id = '0' AND language_id = '1' 0.0596 0.9 TOTAL 167 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
150 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=39' AND store_id = '0' AND language_id = '1' 0.4058 1.3 TOTAL 167 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
69
{common/header}
{common/menu}

...after `getTotalProducts()`
167
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
70
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 40
167
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#151-153), total duration: ~1 ms
SQL Query 3 request(s), #151-153, total duration: ~1 ms Dur Total TTFB
Trace
151 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '40' 0.4984 0.5 TOTAL 168 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
152 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=34' AND store_id = '0' AND language_id = '1' 0.1042 0.6 TOTAL 168 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
153 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=40' AND store_id = '0' AND language_id = '1' 0.4754 1.1 TOTAL 169 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
71
{common/header}
{common/menu}

...after `getTotalProducts()`
169
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
72
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 41
169
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#154-156), total duration: ~1 ms
SQL Query 3 request(s), #154-156, total duration: ~1 ms Dur Total TTFB
Trace
154 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '41' 0.4373 0.4 TOTAL 169 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
155 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=34' AND store_id = '0' AND language_id = '1' 0.0591 0.5 TOTAL 169 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
156 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=41' AND store_id = '0' AND language_id = '1' 0.3004 0.8 TOTAL 170 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
73
{common/header}
{common/menu}

...after `getTotalProducts()`
170
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
74
{common/header}
{common/menu}

...how long does `getTotalProducts()` take? category id 42
170
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:28 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `catalog/product/getTotalProducts()`
SQL: 3 request(s) (#157-159), total duration: ~1 ms
SQL Query 3 request(s), #157-159, total duration: ~1 ms Dur Total TTFB
Trace
157 SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '42' 0.6663 0.7 TOTAL 170 TTFB
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/catalog/model/catalog/product.php:513 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelCatalogProduct->getTotalProducts()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/common/menu.php:31 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
158 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=34' AND store_id = '0' AND language_id = '1' 0.0594 0.7 TOTAL 170 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
159 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=42' AND store_id = '0' AND language_id = '1' 0.4081 1.1 TOTAL 171 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:32 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
75
{common/header}
{common/menu}

...after `getTotalProducts()`
171
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/catalog/controller/common/menu.php:35 (in `Registry->nektoFunctionProfiler()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `design/theme/getTheme()`
SQL: 2 request(s) (#160-161), total duration: ~1 ms
SQL Query 2 request(s), #160-161, total duration: ~1 ms Dur Total TTFB
Trace
160 SELECT * FROM oc_seo_url WHERE `query` = 'category_id=34' AND store_id = '0' AND language_id = '1' 0.263 0.3 TOTAL 171 TTFB
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:43 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/startup/seo_url.php:91 (in `DB->query()`)
/system/library/url.php:64 (in `ControllerStartupSeoUrl->rewrite()`)
/catalog/controller/common/menu.php:43 (in `Url->link()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
161 SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'default' AND route = 'common/menu' 0.3078 0.6 TOTAL 171 TTFB
/catalog/model/design/theme.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTheme->getTheme()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/theme.php:25 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTheme->index()`)
/catalog/model/design/theme.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTheme->getTheme()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/theme.php:25 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTheme->index()`)
/system/engine/event.php:62 (in `Action->execute()`)
/system/storage/modification/system/engine/loader.php:183 (in `Event->trigger()`)
/catalog/controller/common/menu.php:48 (in `Loader->view()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonMenu->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
76
{common/header}

Controller `common/menu` << end
176
/system/storage/modification/system/engine/loader.php:120 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/loader.php:120 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/common/header.php:78 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
4,096
Models called:
1 x `design/theme/getTheme()`
1 x `setting/setting/getSetting()`
SQL: 2 request(s) (#162-163), total duration: ~1 ms
SQL Query 2 request(s), #162-163, total duration: ~1 ms Dur Total TTFB
Trace
162 SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'default' AND route = 'common/header' 0.5682 0.6 TOTAL 176 TTFB
/catalog/model/design/theme.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTheme->getTheme()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/theme.php:25 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTheme->index()`)
/catalog/model/design/theme.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTheme->getTheme()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/theme.php:25 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTheme->index()`)
/system/engine/event.php:62 (in `Action->execute()`)
/system/storage/modification/system/engine/loader.php:183 (in `Event->trigger()`)
/catalog/controller/common/header.php:80 (in `Loader->view()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
163 SELECT * FROM oc_setting WHERE store_id = '0' AND `code` = 'advertise_google' 0.6087 1.2 TOTAL 182 TTFB
/catalog/model/setting/setting.php:6 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelSettingSetting->getSetting()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/system/library/googleshopping/traits/storeloader.php:11 (in `Proxy->__call()`)
/catalog/controller/extension/advertise/google.php:21 (in `ControllerExtensionAdvertiseGoogle->loadStore()`)
/catalog/model/setting/setting.php:6 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelSettingSetting->getSetting()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/system/library/googleshopping/traits/storeloader.php:11 (in `Proxy->__call()`)
/catalog/controller/extension/advertise/google.php:21 (in `ControllerExtensionAdvertiseGoogle->loadStore()`)
/system/storage/modification/system/engine/action.php:71 (in `ControllerExtensionAdvertiseGoogle->__construct()`)
/system/engine/event.php:62 (in `Action->execute()`)
/system/storage/modification/system/engine/loader.php:205 (in `Event->trigger()`)
/catalog/controller/common/header.php:80 (in `Loader->view()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerCommonHeader->index()`)
/system/storage/modification/system/engine/loader.php:102 (in `Action->execute()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
77
Controller `common/header` << end
182
/system/storage/modification/system/engine/loader.php:120 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/storage/modification/system/engine/loader.php:120 (in `Registry->nektoFunctionProfiler()`)
/catalog/controller/product/special.php:268 (in `Loader->controller()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)
6,144
Models called:
1 x `design/theme/getTheme()`
SQL: 1 request(s) (#164-164), total duration: ~0 ms
SQL Query 1 request(s), #164-164, total duration: ~0 ms Dur Total TTFB
Trace
164 SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'default' AND route = 'product/special' 0.4015 0.4 TOTAL 183 TTFB
/catalog/model/design/theme.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTheme->getTheme()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/theme.php:25 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTheme->index()`)
/catalog/model/design/theme.php:4 (in `DB->query()`)
/system/storage/modification/system/engine/loader.php:330 (in `ModelDesignTheme->getTheme()`)
/system/engine/proxy.php:47 (in `Loader->{closure}()`)
/catalog/controller/event/theme.php:25 (in `Proxy->__call()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerEventTheme->index()`)
/system/engine/event.php:62 (in `Action->execute()`)
/system/storage/modification/system/engine/loader.php:183 (in `Event->trigger()`)
/catalog/controller/product/special.php:270 (in `Loader->view()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerProductSpecial->index()`)
/catalog/controller/startup/router.php:25 (in `Action->execute()`)
/system/storage/modification/system/engine/action.php:79 (in `ControllerStartupRouter->index()`)
/system/engine/router.php:67 (in `Action->execute()`)
/system/engine/router.php:56 (in `Router->execute()`)
/system/framework.php:169 (in `Router->dispatch()`)
/system/startup.php:104 (in `require_once()`)
/index.php:19 (in `start()`)