Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [ANN] XSDBench XML Schema Benchmark 1.0.0 released

From: Boris Kolpackov <boris@-------------.--->
To: Michael Kay <mike@--------.--->
Date: 10/18/2006 5:22:00 PM
Hi Michael,

Michael Kay <mike@s...> writes:

> I don't think you mentioned that you cached the document in memory.

It is mentioned in the "Tests" section of the benchmark description[1].
Here is the test outline for that section:

   1. Read XML instance into memory
   2. Create a parser
   3. Load and cache XML Schema in the parser
   4. Start timer
   5. Perform 10000 parse iterations, resetting the parser if necessary
   6. Stop timer
   7. Destroy the parser


> Is that as unparsed text, as a DOM, or what?

It is raw, unparsed text, just read from the file into a memory buffer.


> About 2.5Mb/s, without taking any special pains (running in the IDE with
> debugging enabled, other applications on the machine, etc). That's parsing
> and validating directly from the file on disk, excluding schema loading
> time, and running the validation 1000 times to get the Java VM fully warmed
> up (the first 500 runs took 55% of the time). I've no idea how the machine
> spec compares with the ones you were using: it's a Centrino laptop.

It is probably quite a bit faster than the Pentium 3 1Ghz I was using.
Though the enabled debugging probably slowed down your code quite a bit
as well. But still interesting.


thanks,
-boris

[1] http://codesynthesis.com/projects/xsdbench/documentation/benchmark.xhtml



-- 
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding

From xan.gregg@j... Wed Oct 18 14:23:13 2006
Received: from lisa.w3.org ([128.30.52.41])


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent