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

Unified Diff: third_party/WebKit/PerformanceTests/Bindings/resources/structured-clone-perf-test.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/Bindings/resources/structured-clone-perf-test.js
diff --git a/third_party/WebKit/PerformanceTests/Bindings/resources/structured-clone-perf-test.js b/third_party/WebKit/PerformanceTests/Bindings/resources/structured-clone-perf-test.js
index 1db00f98a6c5017a099574fac088b64aa507c016..3c0da4a526c5793d239ddb8777f2744c6bcb76eb 100644
--- a/third_party/WebKit/PerformanceTests/Bindings/resources/structured-clone-perf-test.js
+++ b/third_party/WebKit/PerformanceTests/Bindings/resources/structured-clone-perf-test.js
@@ -28,6 +28,7 @@ const StructuredClonePerfTestRunner = (function() {
warmUpCount: test.warmUpCount || 10,
iterationCount: test.iterationCount || 250,
done() { isDone = true; },
+ run() { },
Xianzhu 2017/05/03 22:06:26 Change this line to run: pingPongUtilDone, and r
nednguyen 2017/05/04 00:10:32 Done. Nice catch!
});
function pingPongUntilDone() {

Powered by Google App Engine
This is Rietveld 408576698