Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040163 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2019-02-06 16:10 | 2019-03-28 14:56 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 3.0PR19Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 25c609294e5e | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | alostale | |||||||
Web browser | ||||||||
Modules | Core | |||||||
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 | |||||||
Tags | Performance | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0109649) caristu (developer) 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 (developer) 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 --- |
(0109668) alostale (manager) 2019-02-11 14:13 |
reviewed + tested |
(0110804) hudsonbot (developer) 2019-03-28 14:56 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/b2fbc1588df4 [^] Maturity status: Test |
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 | View Revisions |
2019-02-06 16:23 | caristu | Description Updated | View Revisions |
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 |
Copyright © 2000 - 2009 MantisBT Group |