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

Unified Diff: third_party/WebKit/PerformanceTests/resources/runner.js

Issue 2857403002: Move trace event emitting calls to outside of test run time measurement (Closed)
Patch Set: Created 3 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/PerformanceTests/resources/runner.js
diff --git a/third_party/WebKit/PerformanceTests/resources/runner.js b/third_party/WebKit/PerformanceTests/resources/runner.js
index f12979d06b246c9b4ac0f6ff53f4d00495d3104c..228237b9eff58c069366a6ed38381e905137b509 100644
--- a/third_party/WebKit/PerformanceTests/resources/runner.js
+++ b/third_party/WebKit/PerformanceTests/resources/runner.js
@@ -358,11 +358,11 @@ if (window.testRunner) {
// Force gc before measuring time to avoid interference between tests.
PerfTestRunner.gc();
- var start = PerfTestRunner.now();
addRunTestStartMarker();
+ var start = PerfTestRunner.now();
var returnValue = currentTest.run();
- addRunTestEndMarker();
var end = PerfTestRunner.now();
+ addRunTestEndMarker();
if (returnValue - 0 === returnValue) {
if (returnValue < 0)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698