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

Unified Diff: PerformanceTests/Bindings/gc-forest.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/event-target-wrapper.html ('k') | PerformanceTests/Bindings/gc-mini-tree.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PerformanceTests/Bindings/gc-forest.html
diff --git a/PerformanceTests/Bindings/gc-forest.html b/PerformanceTests/Bindings/gc-forest.html
index d18fe15cf0b13b50ec9b8c9735e23e4cb7333aa7..6c73d940d871a50f13f293087c3a48a6edc5f921 100644
--- a/PerformanceTests/Bindings/gc-forest.html
+++ b/PerformanceTests/Bindings/gc-forest.html
@@ -2,12 +2,15 @@
<body>
<script src="../resources/runner.js"></script>
<script>
-PerfTestRunner.measureTime({run: function() {
- (function() {
- for (var i = 0; i < 1000000; i++)
- document.createElement("div");
- })();
- PerfTestRunner.gc();
-}});
+PerfTestRunner.measureTime({
+ description: "Measures performance of creating one million divs without retaining references, then running the garbage collector.",
+ run: function() {
+ (function() {
+ for (var i = 0; i < 1000000; i++)
+ document.createElement("div");
+ })();
+ PerfTestRunner.gc();
+ }
+});
</script>
</body>
« no previous file with comments | « PerformanceTests/Bindings/event-target-wrapper.html ('k') | PerformanceTests/Bindings/gc-mini-tree.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698