View Issue Details

IDProjectCategoryView StatusLast Update
0003484OXID eShop (all versions)4.05. Performancepublic2012-12-10 13:29
Reporteravalue 
PriorityhighSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.5.1 revision 38045 
Target VersionFixed in Version4.5.8 revision 42471 
Summary0003484: big perfomance increase in oximex.php
Descriptionunset from oOrderList in foreach

oximex.php
267 foreach ( $oOrderlist->arrayKeys() as $key ) {
268 $oOrder = $oOrderlist[$key];

add unset $oOrderlist[$key];


for much better perfomance (ram usage)
Steps To Reproducewith many orders > 512MB RAM is used
TagsPerformance
ThemeBoth
BrowserAll
PHP Version5.3
Database Versionany

Activities

Linas Kukulskis

2012-02-14 14:46

reporter   ~0005733

made some experiments, the unsetting do not do such effect as using normal for-each syntax, so removed legacy for-each optimization with the keys.