Chromium Code Reviews| Index: PerformanceTests/DOM/textarea-dom.html |
| diff --git a/PerformanceTests/DOM/textarea-dom.html b/PerformanceTests/DOM/textarea-dom.html |
| index b9bd1e2a181007f43bc51cd51e649299985815bb..542a4117c9428050561b2513acd1b2633d67438d 100644 |
| --- a/PerformanceTests/DOM/textarea-dom.html |
| +++ b/PerformanceTests/DOM/textarea-dom.html |
| @@ -14,8 +14,9 @@ textarea:invalid { |
| var container = document.getElementById('container'); |
| var nodes = []; |
| var childCount = 1000; |
| +// Vary the text nodes added, avoiding any secondary effects of using identical strings and reusing its allocation. |
| for (var i = 0; i < childCount; ++i) |
| - nodes.push(document.createTextNode('A quick brown fox jumps over the lazy dog.\n')); |
| + nodes.push(document.createTextNode('A quick brown fox jumps over the ' + i + 'th lazy dog.\n')); |
|
tkent
2015/09/24 03:16:40
Please land this separately.
sof
2015/09/25 08:51:35
Done + adjusted description accordingly.
|
| PerfTestRunner.measureRunsPerSecond({ |
| description: "Measures performance of adding text nodes to a textarea, then clearing it.", |