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

Unified Diff: third_party/WebKit/PerformanceTests/Bindings/post-message.html

Issue 2858783003: Refactor prepareToMeasureValuesAsync to startMeasureValuesAsyn which run test through callback (Closed)
Patch Set: Address Xianzhu's review comments 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
« no previous file with comments | « no previous file | third_party/WebKit/PerformanceTests/Bindings/resources/structured-clone-perf-test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/PerformanceTests/Bindings/post-message.html
diff --git a/third_party/WebKit/PerformanceTests/Bindings/post-message.html b/third_party/WebKit/PerformanceTests/Bindings/post-message.html
index 5745861725132670f3077a95aa054a06e76a1375..52d1bdc7898ae7b5f219d45b8aee641033f8b13d 100644
--- a/third_party/WebKit/PerformanceTests/Bindings/post-message.html
+++ b/third_party/WebKit/PerformanceTests/Bindings/post-message.html
@@ -27,12 +27,12 @@ function testDone() {
}
window.onload = function () {
- PerfTestRunner.prepareToMeasureValuesAsync({
+ PerfTestRunner.startMeasureValuesAsync({
description: "Measures time to run 1000 postMessage round trips in serial.",
unit: 'ms',
+ run: runTest,
done: testDone,
});
- runTest();
};
</script>
<div id="log"></div>
« no previous file with comments | « no previous file | third_party/WebKit/PerformanceTests/Bindings/resources/structured-clone-perf-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698