<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Orchestra Networks</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1256"><BASE
href="file://C:\Program Files\Common Files\Microsoft Shared\Stationery\"><!-- saved from url=(0022)http://internet.e-mail -->
<STYLE>BODY {
        MARGIN-TOP: 10px; FONT-SIZE: 9pt; MARGIN-LEFT: 10px; MARGIN-RIGHT: 10px; FONT-FAMILY: Verdana, Helvetica, Arial
}
P.msoNormal {
        MARGIN-TOP: 0px; FONT-SIZE: 8pt; MARGIN-LEFT: 0px; MARGIN-RIGHT: 0px; FONT-FAMILY: Verdana, Helvetica, Arial
}
</STYLE>
<META content="MSHTML 5.50.4916.2300" name=GENERATOR></HEAD>
<BODY bgColor=#fffefd>
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>In beta 8, DOMBuilder has been deprecated as its javadoc says :</DIV>
<DIV>"<EM>The class can be used to build from files, streams, etc but other
builders like SAXBuilder can perform the task faster because they don't create a
DOM tree first.</EM>"</DIV>
<DIV> </DIV>
<DIV>However, in our case, SAXBuilder is 2x (small files) to 4x (larger files)
slower.</DIV>
<DIV> </DIV>
<DIV><FONT
face=Courier> | 170
files 2kb-4kb | 87 files 6kb-43kb </FONT></DIV>
<DIV><FONT face=Courier>DOM Xerces 2.0.1 |
88.8 |
456.1 </FONT></DIV>
<DIV><FONT face=Courier>SAX Xerces 2.0.1 |
196.3
| 2280.7<BR>SAX Piccolo
1.02
| 158.6 |
2111.7 <BR></FONT></DIV>
<DIV>The numbers are average/file in ms, on VisualAge VM, with non-validating
parsers. </DIV>
<DIV> </DIV>
<DIV>Moreover, reading then all the nodes of the document for creating </DIV>
<DIV>our object structure is 25% faster if it has been built with
DOMBuilder...</DIV>
<DIV> </DIV>
<DIV>Is there something I missed in my configuration or is there specific
performance issues</DIV>
<DIV>with SAXBuilder ?</DIV>
<DIV> </DIV>
<DIV> Thanks,</DIV>
<DIV> Martial</DIV>
<DIV> </DIV>
<DIV> </DIV></BODY></HTML>