[jdom-interest] performance on tonights CVS

David D. Lucas ddlucas at lse.com
Tue Feb 26 15:57:08 PST 2002


Can you be more specific about what revision the "buffering" was added.
I have been doing diff and I am not sure the DTD buffering is being hit 
unless I am receiving DTD events.  The XML I am parsing is just well 
formed XML with no DTD or Schema in the input.

Also a side note I noticed the use of Stack.  Is this being replaced or 
staying due to backward compatability?

Thanks in advance,
Dave


Alex Rosen wrote:

> One thing that's been added since beta 7 is the "buffer" code in SAXHandler,
> that tries to preserve the internal subset of the DTD. Try commenting out
> all that code in SAXHandler and see if the speed improves. (I wonder if
> we'll need to add a method to turn off this feature for performance
> reasons...)
> 
> Alex
> 
> 
>>-----Original Message-----
>>From: jdom-interest-admin at jdom.org
>>[mailto:jdom-interest-admin at jdom.org]On Behalf Of David D. Lucas
>>Sent: Sunday, February 24, 2002 4:43 AM
>>To: jdom-interest at jdom.org
>>Subject: [jdom-interest] performance on tonights CVS
>>
>>
>>I pulled down the CVS source tonight and wanted to know how
>>the current
>>JDOM is handling the parsing as compared to JDOM beta 7.  I used
>>different SAX parsers and the samples.TestXMLOutput (slightly
>>modified)
>>to run a few repeating tests.
>>
>>What I have found seems to indicate that outputting a JDOM
>>tree to XML
>>for a large file (1.85MB) is about 3 times faster now than
>>JDOM beta 7.
>>Great job!!!
>>
>>However, something in the way SAX is being used has impacted
>>my Builder.
>>build performance which has slipped some 40% in the wrong direction.
>>I have not profiled it yet, but was wanting to know if anyone has a
>>quick explaination or suggestion on how to get it back up to beta 7
>>build speeds.
>>
>>As a side note, it looks like memory usage is a bit better in the
>>current CVS snapshot than beta 7.
>>
>>Any help would be appreciated.  I know that 1.85MB XML is a
>>bit large,
>>but that is what my client wants.   We are processing some large
>>MQSeries messages and are using JDOM to manipulate the information.
>>
>>Thanks in advance,
>>Dave
>>
>>--
>>
>>+------------------------------------------------------------+
>>| David Lucas                        mailto:ddlucas at lse.com  |
>>| Lucas Software Engineering, Inc.   (740) 964-6248 Voice    |
>>| Unix,Java,C++,CORBA,XML,EJB        (614) 668-4020 Mobile   |
>>| Middleware,Frameworks              (888) 866-4728 Fax/Msg  |
>>+------------------------------------------------------------+
>>| GPS Location:  40.0150 deg Lat,  -82.6378 deg Long         |
>>| IMHC: "Jesus Christ is the way, the truth, and the life."  |
>>| IMHC: "I know where I am; I know where I'm going."    <><  |
>>+------------------------------------------------------------+
>>
>>Notes: PGP Key Block=http://www.lse.com/~ddlucas/pgpblock.txt
>>IMHO="in my humble opinion" IMHC="in my humble conviction"
>>All trademarks above are those of their respective owners.
>>
>>
>>_______________________________________________
>>To control your jdom-interest membership:
>>http://lists.denveronline.net/mailman/options/jdom-interest/yo
>>
> uraddr at yourhost.com
> 
> 
> 


-- 

<Remote assignment="yes" />

+------------------------------------------------------------+
| David Lucas                        mailto:ddlucas at lse.com  |
| Lucas Software Engineering, Inc.   (740) 964-6248 Voice    |
| Unix,Java,C++,CORBA,XML            (614) 668-4020 Mobile   |
| Middleware,Frameworks              (888) 866-4728 Fax      |
+------------------------------------------------------------+
| GPS Location:      40 deg 00' 51" N,  82 deg 38' 11" W     |
| IMHC: "Jesus Christ is the way, the truth, and the life."  |
| IMHC: "I know where I am; I know where I'm going."    <><  |
+------------------------------------------------------------+

Notes: PGP Key Block=http://www.lse.com/~ddlucas/pgpblock.txt
IMHO="in my humble opinion" IMHC="in my humble conviction"
All trademarks above are those of their respective owners.





More information about the jdom-interest mailing list