Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Side by Side Diff: PerformanceTests/Bindings/create-element.html

Issue 1220253004: Implement a fast buffer allocator for Vector, HashTable and StringBuilder Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/bindings/core/v8/V8GCController.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <script src="../resources/runner.js"></script> 4 <script src="../resources/runner.js"></script>
5 <script> 5 <script>
6 var text = document.createTextNode("");
7 text.namespaceURI;
6 PerfTestRunner.measureRunsPerSecond({ 8 PerfTestRunner.measureRunsPerSecond({
7 description: "This benchmark covers 'createElement', 'createTextNode' and 'c loneNode' in Dromaeo/dom-modify.html, and other DOM methods that return a new No de object.", 9 description: "This benchmark covers 'createElement', 'createTextNode' and 'c loneNode' in Dromaeo/dom-modify.html, and other DOM methods that return a new No de object.",
8 run: function() { 10 run: function() {
11 var text = document.createTextNode("");
12 text.namespaceURI;
13 text.namespaceURI;
14 text.namespaceURI;
15 text.namespaceURI;
16 text.namespaceURI;
9 for (var i = 0; i < 5000; i++) 17 for (var i = 0; i < 5000; i++)
10 document.createElement("div"); 18 document.createElement("div");
11 }}); 19 }});
12 </script> 20 </script>
13 </body> 21 </body>
14 </html> 22 </html>
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/core/v8/V8GCController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698