[
https://jira.jboss.org/jira/browse/BPEL-311?page=com.atlassian.jira.plugi...
]
Aleksander Adamowski commented on BPEL-311:
-------------------------------------------
I've began tracking all of my changeset using GIT on GitHub, since they start to be
hard to manage without a SCM.
The project on GitHub is:
http://github.com/aadamowski/jbpm-bpel
The general performance fixes are on the perf-general branch:
http://github.com/aadamowski/jbpm-bpel/tree/perf-general
This particular patch is commit 81c415e970fc6e823bb9a3977adf04455c5a3a77:
http://github.com/aadamowski/jbpm-bpel/commit/81c415e970fc6e823bb9a3977ad...
Performance improvement: Find a way to reduce number of
org.jbpm.bpel.graph.def.CompositeActivity.findVariable() calls
----------------------------------------------------------------------------------------------------------------------
Key: BPEL-311
URL:
https://jira.jboss.org/jira/browse/BPEL-311
Project: jBPM BPEL
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Engine
Affects Versions: jBPM BPEL 1.1.1
Reporter: Aleksander Adamowski
Assignee: Alejandro Guizar
Attachments: jbpm-bpel-CompositeActivity-variableDefinitionCache_HashMap.patch,
org.jbpm.bpel.graph.def.CompositeActivity.findVariable.Call_graph.single_operation-expanded.png
According to our profiling data, during a single invocation of a relatively simple
business process (cannot post it here for confidentiality reasons), jBPM-BPEL performs an
unreasonable number of findVariable() calls.
Using JProfiler, we've recorded almost 150000 findVariable() calls for a single
process execution (the process definition contains only 31 bpws:variable elements
collectively).
I suspect that there's some algorithm which runs in exponential time with respect to
the number of variables or activities. Maybe adding some form of variable caching could
enable dramatic performance improvements?
--
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