View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005141 | OXID eShop (all versions) | 4.07. Source code, Test | public | 2013-06-04 13:34 | 2024-09-18 10:38 |
Reporter | tomas_liubinas | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Summary | 0005141: Widgets displays wrong profile information | ||||
Description | Enable 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%. | ||||
Tags | PE, Performance and Caching Rework | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||
|
with this code the result is correct - nevertheless it does not make sense to have higher values than 100% round($sVal*100/$dTotalTime, 2) |
|
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; } |