Table 1
Comparison timings for the Microsoft XML parser, the JavaScript/DOM converter, and converted XML to parse a fully loaded document.
PROCESS | NUMBER OF ELEMENTS | PARSING TIME (sec) | DOC SIZE (KB) |
MS's JScript XML parser | 30 | 7.0 | 1 |
300 | 294.0 | 9 | |
XML-to-DOM Converter | 30 | 1.0 | 1 |
300 | 54.0 | 9 | |
JavaScript Document COnverted from XML | 30 | 0.01 | 3 |
300 | 0.08 | 21 | |
The test system was a Pentium 133 with 64MB of RAM. In each case, the XML data source was located on the local machine. The "JScript parser" referred to in the first row is a sample script shipped with Microsoft's Internet Client Software Development Kit (INetSDK), which uses the MSXML applet to parse XML and bind it to an HTML table. |