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

Unified Diff: PerformanceTests/Bindings/node-type.html

Issue 306783003: PerformanceTests/Bindings/scroll-top.html should use another DOM attribute (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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 | PerformanceTests/Bindings/scroll-top.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PerformanceTests/Bindings/node-type.html
diff --git a/PerformanceTests/Bindings/scroll-top.html b/PerformanceTests/Bindings/node-type.html
similarity index 85%
rename from PerformanceTests/Bindings/scroll-top.html
rename to PerformanceTests/Bindings/node-type.html
index d4590d77716b7959546f0080ba5fe978d6747fe0..5532e0d4fec60fd6359e4da05eb5985b6af4fd0a 100644
--- a/PerformanceTests/Bindings/scroll-top.html
+++ b/PerformanceTests/Bindings/node-type.html
@@ -4,11 +4,11 @@
<script src="../resources/runner.js"></script>
<script>
PerfTestRunner.measureRunsPerSecond({
- description: "This benchmark covers DOM attributes that return small integers.",
+ description: "This benchmark covers DOM attributes that return integers.",
run: function() {
var localBody = document.body;
for (var i = 0; i < 100000; i++)
- localBody.scrollTop;
+ localBody.nodeType;
}});
</script>
</body>
« no previous file with comments | « no previous file | PerformanceTests/Bindings/scroll-top.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698