View Issue Details

IDProjectCategoryView StatusLast Update
0005141OXID eShop (all versions)4.07. Source code, Testpublic2023-12-13 15:24
Reportertomas_liubinas Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
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%.
TagsPE, Performance and Caching Rework
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Relationships

related to 0005571 confirmedHR Profiler displays wrong information for nested methods 

Activities

ray

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)

leofonic

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;
    }