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

Unified Diff: third_party/WebKit/PerformanceTests/BlinkGC/resources/measure-gc.js

Issue 2858783003: Refactor prepareToMeasureValuesAsync to startMeasureValuesAsyn which run test through callback (Closed)
Patch Set: update Created 3 years, 8 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
Index: third_party/WebKit/PerformanceTests/BlinkGC/resources/measure-gc.js
diff --git a/third_party/WebKit/PerformanceTests/BlinkGC/resources/measure-gc.js b/third_party/WebKit/PerformanceTests/BlinkGC/resources/measure-gc.js
index 60d2d2eb1b0a23f4525daab4db49bbed6d864a16..85e378977535afc5258b27178a3bb2da50ae0ca0 100644
--- a/third_party/WebKit/PerformanceTests/BlinkGC/resources/measure-gc.js
+++ b/third_party/WebKit/PerformanceTests/BlinkGC/resources/measure-gc.js
@@ -14,6 +14,8 @@ if (!window.GCController && !window.gc)
test.unit = 'ms';
if (!test.warmUpCount)
test.warmUpCount = warmUpCount;
+ if (!test.run)
+ test.run = function() {};
completedIterations = 0;
PerfTestRunner.prepareToMeasureValuesAsync(test);

Powered by Google App Engine
This is Rietveld 408576698