[jboss-jira] [JBoss JIRA] Created: (BPEL-313) Prepare jBPM-BPEL for performance-enhancing laziness changes in upcoming Jaxen-1.1.3
Aleksander Adamowski (JIRA)
jira-events at lists.jboss.org
Fri Oct 23 18:37:06 EDT 2009
Prepare jBPM-BPEL for performance-enhancing laziness changes in upcoming Jaxen-1.1.3
------------------------------------------------------------------------------------
Key: BPEL-313
URL: https://jira.jboss.org/jira/browse/BPEL-313
Project: jBPM BPEL
Issue Type: Patch
Security Level: Public (Everyone can see)
Components: Engine
Reporter: Aleksander Adamowski
Assignee: Alejandro Guizar
Priority: Minor
There's a change coming up in Jaxen that has the potential to significantly increase its performance by making returned lists lazy:
http://jira.codehaus.org/browse/JAXEN-31
However, to take advantage of this performance-enhancing laziness, one has to employ special techniques when using Jaxen's APIs - most notably, avoid calling size() on Jaxen-returned node lists or sorting them - where possible, using isEmpty(), iterators, and get().
I'm doing proof of concept work on jBPM-BPEL sources right now. The progress can be tracked on GitHub in the jbpm-bpel project on the perf-jaxen-laziness branch:
http://github.com/aadamowski/jbpm-bpel/commits/perf-jaxen-laziness
Over there there's currently an untested commit there that demonstrates the aforementioned techniques:
http://github.com/aadamowski/jbpm-bpel/commit/6feb2d1a0434e73e47f57e2151bbfcb59d7283c5
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list