You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by Thierry Kormann <Th...@sophia.inria.fr> on 2000/10/20 19:42:41 UTC

XML parser

Hello,

We made some benchmarks using both xerces and crimson (both are XML parsers 
available on apache.org), here is the result :

Load 3 files (in 3 separate windows) bikini.svg, cowboy.svg and ausmap.svg

- bikini.svg (499Kb)
- cowboy.svg (444Kb)
- ausmap.svg (190Kb)

Total number of lines : 20393

Conclusion:

* batik+xerces 
  Memory max : 58M
  After GC, memory stabilizes at : 38M

* batik+crimson
  Memory max : 30M
  After GC, memory stabilizes at : 23Kb

crimson also does *not* add DOM Text nodes in <g> elements (conforming to the 
SVG dtd), xerces does.

So we have updated to CVS repository and batik is now using crimson.
Any comments?

Thierry.

-- 
Thierry Kormann
email: Thierry.Kormann@sophia.inria.fr  http://www.inria.fr/koala/tkormann/
Koala/Dyade/Bull @ INRIA - Sophia Antipolis