You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2008/02/02 00:19:11 UTC
[jira] Resolved: (WSCOMMONS-300) Many reader.getProperty() calls
for each text element in StAXBuilder causes performance down.
[ https://issues.apache.org/jira/browse/WSCOMMONS-300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rich Scheuerle resolved WSCOMMONS-300.
--------------------------------------
Resolution: Fixed
> Many reader.getProperty() calls for each text element in StAXBuilder causes performance down.
> ---------------------------------------------------------------------------------------------
>
> Key: WSCOMMONS-300
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-300
> Project: WS-Commons
> Issue Type: Improvement
> Components: AXIOM
> Environment: Windows
> Reporter: Takahide Nogayama
> Assignee: Rich Scheuerle
> Attachments: patch.txt
>
>
> When I read XML document which has too many text elements, I found performance down. I think the reader.getProperty("IsDataHandlerAware") call for each text element is one of the overhead for this case.
> My question is "Should we really ask the property for each text element?"
> If answer is No, then StAXBuilder can cache the property to avoid many getProperty calls. I will post a patch file to solve this performance issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org