users@jaxb.java.net

Re: help: JAXB takes too much CPU time

From: Kevin Wang <kwang_at_farelogix.com>
Date: Thu, 15 May 2003 10:47:02 -0400

It is the sustained performance.

The schema is around 8k. But during runtime the xml doesn't point to the
schema file. I guess there are no effects from the schema file. right?

In fact, the problem we are facing is our application has to handle many big
xml currently (using threads), the cpu usage is too high.






-----Original Message-----
From: Discussion list for the Java Architecture for XML Binding
[mailto:JAXB-INTEREST_at_JAVA.SUN.COM]On Behalf Of Kohsuke Kawaguchi
Sent: Thursday, May 15, 2003 9:14 AM
To: JAXB-INTEREST_at_JAVA.SUN.COM
Subject: Re: help: JAXB takes too much CPU time


> processing 16k xml takes more than 1 second using jaxb 1.0 .
>
> is it normal or unusual?

Is that the sustained performance or the one time performance?



Usually, the first time takes the most of the time, since it involves in
a lot of class loading and etc.

Also, the size of the schema matters for the first time performance. How
big is your schema?


regards,
--
Kohsuke KAWAGUCHI                  408-276-7063 (x17063)
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com