You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Marco Framba <fr...@cendura.com> on 2002/08/23 03:47:26 UTC
Axis Performance and missing namespace.pop()
I was running a performance test with Axis by sending and receiving and
array with
more than 10000 elements, and I noticed in the log file the call :
869755 [main] DEBUG org.apache.axis.utils.NSStack - NSPush (65536)
NSPush is called over and over again. You can see the size of the stack
> 65k.
I looked at the file DeserializationContextImpl.java and I did not see
any call
to namespaces.pop() in the endElement() method.
I added the call namespaces.pop() at the end of the method endElement(),
rerun the
test and now the test run twice as fast (100% perf improvment) and the
namespace stack
does not increase more than 32.
I just started to play with Axis. Does this change make sense ?
Thanks
Marco