Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0029903 | Openbravo ERP | A. Platform | public | 2015-05-16 12:40 | 2015-05-26 10:12 |
Reporter | mtaal | ||||
Assigned To | AugustoMauch | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | 3.0PR15Q3 | Fixed in Version | 3.0PR15Q3 | ||
Merge Request Status | |||||
Review Assigned To | alostale | ||||
OBNetwork customer | No | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0029903: Performance improvement in EntityAccessChecker.initialize | ||||
Description | Hi, For the import entry process which imports transactions from WebPOS we need to create OBContexts for each entry which gets imported. There is some caching of OBContexts but still there is a fair change that in large organisations each entry will be created for a different user. Of the time spend on orderloading: 220 millis around 79 millis are spend on the EntityAccessChecker.initialize. I found a way to bring this down to 10 millis by changing the query slightly. See the attached diff | ||||
Steps To Reproduce | See attached timings before and after the change. Check the lines with Pre-1 and Pre-2, the difference between the two is the time spend on EntityAccessChecker.initialize. | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | Performance | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=8088&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=8089&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=8090&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-05-16 12:40 | mtaal | New Issue | |||
2015-05-16 12:40 | mtaal | Assigned To | => AugustoMauch | ||
2015-05-16 12:40 | mtaal | File Added: Perf-Before-Improvement.txt | |||
2015-05-16 12:40 | mtaal | OBNetwork customer | => No | ||
2015-05-16 12:40 | mtaal | Modules | => Core | ||
2015-05-16 12:40 | mtaal | Triggers an Emergency Pack | => No | ||
2015-05-16 12:40 | mtaal | File Added: Perf-After-Improvement.txt | |||
2015-05-16 12:41 | mtaal | File Added: 29903.diff | |||
2015-05-16 12:43 | mtaal | Note Added: 0077514 | |||
2015-05-22 16:11 | mtaal | Review Assigned To | => alostale | ||
2015-05-22 16:13 | hgbot | Checkin | |||
2015-05-22 16:13 | hgbot | Note Added: 0077668 | |||
2015-05-22 16:13 | hgbot | Status | new => resolved | ||
2015-05-22 16:13 | hgbot | Resolution | open => fixed | ||
2015-05-22 16:13 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/9c8ffa316dabe2f0094ce8ea7330027be4985847 [^] | ||
2015-05-23 13:56 | shuehner | Note Added: 0077672 | |||
2015-05-25 18:01 | hudsonbot | Checkin | |||
2015-05-25 18:01 | hudsonbot | Note Added: 0077721 | |||
2015-05-26 10:12 | alostale | Tag Attached: Performance | |||
2015-05-26 10:12 | alostale | Note Added: 0077743 | |||
2015-05-26 10:12 | alostale | Status | resolved => closed | ||
2015-05-26 10:12 | alostale | Fixed in Version | => 3.0PR15Q3 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|