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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/bindings/core/v8/V8GCController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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");
}});
« 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