Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0040163 | Openbravo ERP | A. Platform | public | 2019-02-06 16:10 | 2019-03-28 14:56 |
|
Reporter | caristu | |
Assigned To | caristu | |
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR19Q2 | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0040163: Do not use xercesImpl XML parser factory in update.database.java task |
Description | As stated in issue 0040152, the XML parser of the xercesImpl library is slower than the default Java XML parser when reading the database model.
For this reason, we should explicitly define the parser to be used by the update.database.task in the same way we are doing for the export.database and export.sample.data tasks.
|
Steps To Reproduce | In description |
Proposed Solution | |
Additional Information | |
Tags | Performance |
Relationships | related to | defect | 0040152 | | closed | caristu | export.database is slower after defining it as a forked task |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2019-02-06 16:10 | caristu | New Issue | |
2019-02-06 16:10 | caristu | Assigned To | => caristu |
2019-02-06 16:10 | caristu | Modules | => Core |
2019-02-06 16:10 | caristu | Triggers an Emergency Pack | => No |
2019-02-06 16:10 | caristu | Issue generated from | 0040152 |
2019-02-06 16:10 | caristu | Relationship added | related to 0040152 |
2019-02-06 16:15 | caristu | Summary | Do not use xercesImpl XML parser in update.database.java task => Do not use xercesImpl XML parser factory in update.database.java task |
2019-02-06 16:17 | caristu | Note Added: 0109649 | |
2019-02-06 16:22 | caristu | Note Edited: 0109649 | bug_revision_view_page.php?bugnote_id=0109649#r18287 |
2019-02-06 16:23 | caristu | Description Updated | bug_revision_view_page.php?rev_id=18289#r18289 |
2019-02-06 16:30 | caristu | Tag Attached: Performance | |
2019-02-06 16:30 | caristu | Review Assigned To | => alostale |
2019-02-06 16:35 | hgbot | Checkin | |
2019-02-06 16:35 | hgbot | Note Added: 0109650 | |
2019-02-06 16:35 | hgbot | Status | new => resolved |
2019-02-06 16:35 | hgbot | Resolution | open => fixed |
2019-02-06 16:35 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/25c609294e5e30e4e1c46381c72cdaef42063ab5 [^] |
2019-02-11 14:13 | alostale | Note Added: 0109668 | |
2019-02-11 14:13 | alostale | Status | resolved => closed |
2019-02-11 14:13 | alostale | Fixed in Version | => 3.0PR19Q2 |
2019-03-28 14:56 | hudsonbot | Checkin | |
2019-03-28 14:56 | hudsonbot | Note Added: 0110804 | |
Notes |
|
(0109649)
|
caristu
|
2019-02-06 16:17
(edited on: 2019-02-06 16:22) |
|
Measured the difference in the duration of the update.database.java task using both parsers, executing the task 10 times for each one, these are the average times:
- org.apache.xerces.jaxp.SAXParserImpl (xerces): 28,1199 seconds
- com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl: 26,6953 seconds
|
|
|
(0109650)
|
hgbot
|
2019-02-06 16:35
|
|
Repository: erp/devel/pi
Changeset: 25c609294e5e30e4e1c46381c72cdaef42063ab5
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Wed Feb 06 16:27:17 2019 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/25c609294e5e30e4e1c46381c72cdaef42063ab5 [^]
fixes bug 40163: Don't use xercesImpl XML parser factory in update.database
Specify the com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl as the SAXParserFactory implementation to be used in update.database.java. It provides an XML parser which is faster than the implementation provided by the xercesImpl library.
---
M src-db/database/build.xml
---
|
|
|
|
|
|
|
|