RE: Using mime parts - huge drawbacks

2002-11-14 Thread Pavel Ausianik
Scott, Here is server time picture taken on the Tomcat server , processing ComplexRequest. The red ellipses show that MimePart initialization takes 10-15% of CPU load. The blue ellipses show that ContentType is also quite expensive for benefits it provide. I prepared patch for caching ContentTyp

[PATCH[ Use arrays in NSStack

2002-11-14 Thread Pavel Ausianik
Hi, I have prepared patch for NSStack, moving from growing number of Vectors to 3 arrays per stack. I also used intern() String comparison, but this only do benefits for large number of comparisons, and it may happen that having just String.equals() could be better. Can anybody say how many namesp

[PATCH] Reduce number of AttributeHandlers

2002-11-14 Thread Pavel Ausianik
Index: Body.java === RCS file: /home/cvspublic/xml-soap/java/src/org/apache/soap/Body.java,v retrieving revision 1.9 diff -u -r1.9 Body.java --- Body.java 6 Nov 2002 15:11:08 - 1.9 +++ Body.java 14 Nov 2002 15:42:09 -00

cvs commit: xml-soap/java/docs/guide deploy.html

2002-11-14 Thread snichol
snichol 2002/11/14 08:07:58 Modified:java/docs/guide deploy.html Log: Submitted by: Mattias Jiderhamn <[EMAIL PROTECTED]> Fix the namespace URI for SOAP encoding: the trailing '/' was missing. Revision ChangesPath 1.8 +1 -1 xml-soap/java/docs/guide/deploy.

Re: Serializer + deployment descriptor

2002-11-14 Thread Scott Nichol
I fixed the file. Sorry about that. Thanks for bringing it to my attention. Scott Nichol - Original Message - From: "Mattias Jiderhamn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 14, 2002 2:33 AM Subject: RE: Serializer + deployment descriptor > Now I also fo

cvs commit: xml-soap/java/src/org/apache/soap/util/mime MimeUtils.java

2002-11-14 Thread snichol
snichol 2002/11/14 08:22:09 Modified:java/src/org/apache/soap Constants.java java/src/org/apache/soap/rpc Call.java SOAPContext.java java/src/org/apache/soap/transport SOAPTransport.java TransportMessage.java java/src/o

Re: Using mime parts - huge drawbacks

2002-11-14 Thread Scott Nichol
Thanks for yet another valuable contribution! I've committed this patch. Your others will have to wait a little while since I have to earn some money today (instead of working on Apache SOAP). I have some questions. 1. What do you use to do this profile? I have very little experience with prof

RE: Using mime parts - huge drawbacks

2002-11-14 Thread Pavel Ausianik
Scott, I have long experience of using OptimizeIt www.optimizeIt.com (now owned by Borland). You can download evaluation version here. I can't compare it to other profilers (have no experience) but I think OptimizeIt absolutely great, you only need few time to start gaining from it. For ex. it use

RE: Java profilers

2002-11-14 Thread WJCarpenter
> I have long experience of using OptimizeIt www.optimizeIt.com (now FWIW, Oracle's JDeveloper IDE includes a memory and CPU performance profiler. I have no idea how it compares to other products, but for many people I'm sure it will drill down as far as they need in practice. I've used it sever

Re: Java profilers

2002-11-14 Thread Scott Nichol
> (it's scary > how much memory is being churned in Java stuff :-). That's one nice thing about .NET: you can define types for which instances will be created on the stack instead of from the heap. Scott Nichol -- To unsubscribe, e-mail: For addit