[
http://jira.jboss.com/jira/browse/JBESB-1560?page=all ]
Tom Fennelly closed JBESB-1560.
-------------------------------
Resolution: Done
Using a Script object now, with synchronized access on it.
GroovyActionProcessor implementation is grossly inefficient
-----------------------------------------------------------
Key: JBESB-1560
URL:
http://jira.jboss.com/jira/browse/JBESB-1560
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Rosetta, Adapters
Affects Versions: 4.2.1 CP1
Reporter: Jiri Pechanec
Assigned To: Tom Fennelly
Fix For: 4.2.1 CP2
Attachments: GroovyScriptTest.java
The GroovyActionProcess parses action script each time the message is processed the
script is recompiled which means serous performance hit. The attached standalone testcase
compare current and optimal implementation.
Actual results from the test
Preparsed 160 ms
Non-preparsed 120832 ms
Credit goes to mvecera for pointing this possibility
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira