| Index: PerformanceTests/Parser/xml-parser.html
|
| diff --git a/PerformanceTests/Parser/xml-parser.html b/PerformanceTests/Parser/xml-parser.html
|
| index 71dfe71f9b87b03b2aee51dafd22c65110a88337..c446a6e7903f23cf83e4dc45756d562ae29c8e8a 100644
|
| --- a/PerformanceTests/Parser/xml-parser.html
|
| +++ b/PerformanceTests/Parser/xml-parser.html
|
| @@ -11,8 +11,11 @@ for (var i = 0; i < 0x7FFF; ++i)
|
| xmlArray.push('</root>')
|
| var xmlData = xmlArray.join('');
|
|
|
| -PerfTestRunner.measureRunsPerSecond({run:function() {
|
| - domParser.parseFromString(xmlData, "text/xml");
|
| -}});
|
| +PerfTestRunner.measureRunsPerSecond({
|
| + description: "Measures performance of the XML parser.",
|
| + run: function() {
|
| + domParser.parseFromString(xmlData, "text/xml");
|
| + }
|
| +});
|
| </script>
|
| </body>
|
|
|