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

Unified Diff: PerformanceTests/Bindings/gc-mini-tree.html

Issue 478003002: Fill in descriptions on relevant blink_perf tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: alancutter nits Created 6 years, 2 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 | « PerformanceTests/Bindings/gc-forest.html ('k') | PerformanceTests/Bindings/gc-tree.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PerformanceTests/Bindings/gc-mini-tree.html
diff --git a/PerformanceTests/Bindings/gc-mini-tree.html b/PerformanceTests/Bindings/gc-mini-tree.html
index b0307691553244fbb76ea52c6dc4eae344d32104..8ffc3e9c18948ef64838f4b2c92964a2ab663275 100644
--- a/PerformanceTests/Bindings/gc-mini-tree.html
+++ b/PerformanceTests/Bindings/gc-mini-tree.html
@@ -2,12 +2,15 @@
<body>
<script src="../resources/runner.js"></script>
<script>
-PerfTestRunner.measureTime({run: function() {
- (function() {
- for (var i = 0; i < 500000; i++)
- document.createElement("div").appendChild(document.createElement("span"));
- })();
- PerfTestRunner.gc();
-}});
+PerfTestRunner.measureTime({
+ description: "Measures performance of creating a half million divs that contain spans without retaining references, then running the garbage collector.",
+ run: function() {
+ (function() {
+ for (var i = 0; i < 500000; i++)
+ document.createElement("div").appendChild(document.createElement("span"));
+ })();
+ PerfTestRunner.gc();
+ }
+});
</script>
</body>
« no previous file with comments | « PerformanceTests/Bindings/gc-forest.html ('k') | PerformanceTests/Bindings/gc-tree.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698