View Issue Details

IDProjectCategoryView StatusLast Update
0005141OXID eShop (all versions)4.07. Source code, Testpublic2015-12-01 12:32
Status acknowledgedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0005141: Widgets displays wrong profile information
DescriptionEnable iDebug=1, the profiling infomation is displayed when page is loaded. For the main controller profiling percentage is displayed correctly. For widgets I see numbers like 6861.72%. This is not correct. The profiling percentage should not be higher than 100%.
TagsNo tags attached.
PHP Versionany
Database Versionany



2013-06-04 13:43

reporter   ~0008748

with this code the result is correct - nevertheless it does not make sense to have higher values than 100%

round($sVal*100/$dTotalTime, 2)


2013-09-11 15:39

reporter   ~0009073

This is because widgets display profiling not only for profiling blocks really used in widget, but all blocks instead. Only execution seems correct. I therefore switched off widget profiling with a module for oxwidgetcontrol:

    protected function _isDebugMode()
        return false;