Christoph Gaffga wrote:

hi,

i have a strange effect when I run code inside of cocoon, it seems to
slowdown more then 10 times!! :(

I call the main-method from my test class the command line.
- The method does lookup an Entity EJB on JBoss server.
- Get a Property from the Bean
- Serialize the Bean using Betwixt

Then I tested the same by callingthe same method from an cocoon action. It
slowes down dramatically:

          |Command Line | Cocoon Action
----------+-------------+--------------
Lookup    |  144 ms     |  2825 ms
Getter    |   17 ms     |  3560 ms
Serialize |  708 ms     | 73342 ms

Has anybody an idea what causes this slowdown, or anybody seen something
similar before?
Any help would be apriciated.

How much memory is allocated for your jvm in your test environment? Can you tell if memory appears to be paging out to disk during your cocoon test?


Is the code literally identical - if so, how are you calling it from your action?

What else is "installed" in Cocoon - in other words, what blocks, etc. (trying to get an idea if classloading is an issue).

Does this happen over and over, or only soon after startup of cocoon?

Geoff


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to