Hi,
        can you take out everything but the parse and measure again? My 
test program parsing the large file (that you sent to me personally) 
takes well under 2 seconds.


Gareth




On Fri, 28 Nov 2003, Peter Guyatt wrote:

> Hi There,
> 
>       The document is 1.8 Meg but that 2.5 minutes is total time to Initialise,
> parse the document and Terminate the librarys, also it takes about 6 seconds
> in the Java GUI that I have written.
> 
> It could be my code but it is virtually a clone of the way I process the DOM
> tree in java.
> 
> Please find the XML document attached but it is quite truncated there was
> origionally 10000 Network Application entries.  (I have cut it down to 1000
> so hopefully it will get through)
> 
> Thanks
> 
> Pete
> 
> -----Original Message-----
> From: Gareth Reakes [mailto:[EMAIL PROTECTED]
> Sent: 28 November 2003 14:55
> To: [EMAIL PROTECTED]
> Subject: Re: Xerces performance problems
> 
> 
> Hi,
>       what size is the document? If it is not to large then attach it.
> Is xerces-j takes 2.5 secs then this is a bug.
> 
> Gareth
> 
> 
> On Fri, 28 Nov 2003, Peter Guyatt wrote:
> 
> > Hi There,
> >
> >     I am having trouble parsing a document when using the Xerces-c-2.2.0 on
> > solaris 2.8, my problem is the time it is taking to parse which is about
> 2.5
> > minutes.
> >
> > It takes around 2.5 seconds using the Xerces Java parser but that version
> is
> > 2.4.0 when using the GUI front end.
> >
> > I am only using the parser to process a DOM Tree, (please find C code
> > attached).
> >
> > Is it worth moving to Xerces2.4.0 when it is released or should I just use
> > the SAX parser for faster results?
> >
> > The XML file can be provided on request
> >
> > thanks
> >
> > Pete
> >
> 
> --
> Gareth Reakes, Head of Product Development  +44-1865-203192
> DecisionSoft Limited                        http://www.decisionsoft.com
> XML Development and Services
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
Gareth Reakes, Head of Product Development  +44-1865-203192
DecisionSoft Limited                        http://www.decisionsoft.com
XML Development and Services




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

Reply via email to