Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0025387 | Openbravo ERP | A. Platform | public | 2013-12-20 12:39 | 2015-11-13 08:35 |
|
Reporter | alostale | |
Assigned To | alostale | |
Priority | immediate | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0MP31 | Fixed in Version | 3.0MP31 | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | Production - Confirmed Stable |
Regression date | 2013-09-19 |
Regression introduced in release | |
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/06606d1fa59dc0e973c2033683e7e041672227f7 [^] |
Triggers an Emergency Pack | No |
|
Summary | 0025387: unneeded flushes in view generation |
Description | Unnecessary DAL flushes in view js generation makes it slow, specially for ones with many tabs.
This affects time taken in opening a window first time on each browser. |
Steps To Reproduce | Open Sales Order window and see how long it takes to generate the view |
Proposed Solution | Remove unneeded flushes |
Additional Information | |
Tags | Performance |
Relationships | related to | design defect | 0024705 | | closed | dbaz | Openbravo ERP | The windows takes long to be loaed when there are a lot of tabs and a lot of columns on the grid. | related to | defect | 0024638 | 3.0MP28 | closed | shankarb | Openbravo ERP | An error appears when using a field in the tab display logic which is present in the header and also in the tab | related to | defect | 0024951 | 3.0MP29 | closed | AugustoMauch | Openbravo ERP | Small problem with tab display logic and datasources | related to | defect | 0028477 | | closed | alostale | Openbravo ERP | view generation: unneeded queries to trl tables | related to | defect | 0025939 | | closed | jonalegriaesarte | Modules | Unneeded flushes in book lines generation are causing bad performance | related to | feature request | 0025941 | | new | AugustoMauch | Openbravo ERP | Check if the new connections created could be opened without autoflush |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2013-12-20 12:39 | alostale | New Issue | |
2013-12-20 12:39 | alostale | Assigned To | => alostale |
2013-12-20 12:39 | alostale | Modules | => Core |
2013-12-20 12:39 | alostale | Triggers an Emergency Pack | => No |
2013-12-20 12:39 | alostale | Relationship added | related to 0024705 |
2013-12-20 12:39 | alostale | Tag Attached: Performance | |
2013-12-20 12:42 | alostale | Relationship added | related to 0024638 |
2013-12-20 12:42 | alostale | Relationship added | related to 0024951 |
2013-12-20 12:43 | alostale | Note Added: 0062968 | |
2013-12-20 12:53 | alostale | Note Added: 0062969 | |
2013-12-20 12:55 | alostale | Regression level | => Production - Confirmed Stable |
2013-12-20 12:55 | alostale | Priority | normal => immediate |
2013-12-20 12:56 | alostale | Regression date | => 2013-09-19 |
2013-12-20 12:56 | alostale | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/06606d1fa59dc0e973c2033683e7e041672227f7 [^] |
2013-12-20 12:57 | alostale | Note Edited: 0062968 | bug_revision_view_page.php?bugnote_id=0062968#r5271 |
2013-12-20 12:58 | alostale | Note Edited: 0062969 | bug_revision_view_page.php?bugnote_id=0062969#r5273 |
2013-12-20 13:02 | alostale | Review Assigned To | => AugustoMauch |
2013-12-20 13:02 | hgbot | Checkin | |
2013-12-20 13:02 | hgbot | Note Added: 0062971 | |
2013-12-20 13:02 | hgbot | Checkin | |
2013-12-20 13:02 | hgbot | Note Added: 0062972 | |
2013-12-20 13:02 | hgbot | Status | new => resolved |
2013-12-20 13:02 | hgbot | Resolution | open => fixed |
2013-12-20 13:02 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/ec5f0f762fb19fb6ce0f6b6e19a78ca8a75b5d35 [^] |
2013-12-20 15:58 | AugustoMauch | Note Added: 0063030 | |
2013-12-20 15:58 | AugustoMauch | Status | resolved => closed |
2013-12-20 15:58 | AugustoMauch | Fixed in Version | => 3.0MP31 |
2013-12-21 01:39 | hudsonbot | Checkin | |
2013-12-21 01:39 | hudsonbot | Note Added: 0063039 | |
2013-12-21 01:39 | hudsonbot | Checkin | |
2013-12-21 01:39 | hudsonbot | Note Added: 0063040 | |
2014-03-10 16:03 | caristu | Relationship added | related to 0025939 |
2014-03-10 17:07 | egoitz | Relationship added | related to 0025941 |
2015-11-13 08:35 | alostale | Relationship added | related to 0028477 |
Notes |
|
(0062968)
|
alostale
|
2013-12-20 12:43
(edited on: 2013-12-20 12:57) |
|
Problem introduced in fixes for 0024638 and 0024951
Starting from mp28
|
|
|
(0062969)
|
alostale
|
2013-12-20 12:53
(edited on: 2013-12-20 12:58) |
|
Executed test cases:
Executed openAllViews.jmx and openBiggestViews.jmx JMeter test cases in https://bitbucket.org/alostale/ob-jmeter [^]
-test the output for openAllViews is the same after and before the fix (there are some changes in field position which seems not to be stable)
-verified no additional flushes are invoked during view generation
Performance improvements (more details can be found here https://docs.google.com/a/openbravo.com/spreadsheet/ccc?key=0AmPGxKaZaJn-dDlERFlsRG5saHBQX2JmdnNkeEN4d2c#gid=0 [^]):
*Avg time to generate view (generating all): 923ms -> 540ms (takes 41% less)
*Avg time to generate view (generating the 20 with biggest number of tabs): 4708ms -> 2055ms (takes 56% less)
*Max time to generate a single view: 14741ms -> 4852ms (takes 67% less)
|
|
|
(0062971)
|
hgbot
|
2013-12-20 13:02
|
|
|
|
(0062972)
|
hgbot
|
2013-12-20 13:02
|
|
|
|
|
Code reviewed and verified in pi@ec5f0f762fb1 |
|
|
|
|
|
|
|