| Index: PerformanceTests/Bindings/create-element.html
|
| diff --git a/PerformanceTests/Bindings/create-element.html b/PerformanceTests/Bindings/create-element.html
|
| index 34d2580bb7b5cca656bf4736b18a24afeffc9fe0..3e9ceafc46b874b3377498b7250c99cf75abf65e 100644
|
| --- a/PerformanceTests/Bindings/create-element.html
|
| +++ b/PerformanceTests/Bindings/create-element.html
|
| @@ -3,9 +3,17 @@
|
| <body>
|
| <script src="../resources/runner.js"></script>
|
| <script>
|
| + var text = document.createTextNode("");
|
| + text.namespaceURI;
|
| PerfTestRunner.measureRunsPerSecond({
|
| description: "This benchmark covers 'createElement', 'createTextNode' and 'cloneNode' in Dromaeo/dom-modify.html, and other DOM methods that return a new Node object.",
|
| run: function() {
|
| + var text = document.createTextNode("");
|
| + text.namespaceURI;
|
| + text.namespaceURI;
|
| + text.namespaceURI;
|
| + text.namespaceURI;
|
| + text.namespaceURI;
|
| for (var i = 0; i < 5000; i++)
|
| document.createElement("div");
|
| }});
|
|
|