3 <script src="../resources/runner.js"></script>
5 var domParser = new DOMParser();
8 xmlArray.push('<root>');
9 for (var i = 0; i < 0x7FFF; ++i)
10 xmlArray.push('<item attribute1="value1" attribute2="value2" attribute3="value3" attribute4="value4" attribute5="value5" />');
11 xmlArray.push('</root>')
12 var xmlData = xmlArray.join('');
14 PerfTestRunner.runPerSecond({run:function() {
15 domParser.parseFromString(xmlData, "text/xml");