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

Issue 178223008: Replace run_selenium.py with Dart script that uses the browser controller for performance tests. (Closed)

Created:
6 years, 10 months ago by Emily Fortuna
Modified:
6 years, 9 months ago
Reviewers:
ricow1, vsm, blois, kustermann
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Replace run_selenium.py with Dart script that uses the browser controller for performance tests. BUG= R=kustermann@google.com, ricow@google.com, vsm@google.com Committed: https://code.google.com/p/dart/source/detail?r=33171

Patch Set 1 : #

Patch Set 2 : #

Total comments: 11

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -316 lines) Patch
A samples/third_party/dromaeo/dromaeo_end_condition.js View 1 chunk +13 lines, -0 lines 0 comments Download
D samples/third_party/dromaeo/generate_dart2js_tests.py View 1 chunk +0 lines, -80 lines 0 comments Download
A + samples/third_party/dromaeo/generate_perf_and_dart2js_tests.py View 3 chunks +18 lines, -7 lines 0 comments Download
M samples/third_party/dromaeo/htmlrunner.js View 1 1 chunk +1 line, -1 line 0 comments Download
M samples/third_party/dromaeo/tests/RunnerSuite.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/io/test_harness_analyzer_test.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M tools/get_archive.py View 1 2 2 chunks +3 lines, -15 lines 0 comments Download
M tools/testing/dart/browser_controller.dart View 1 2 3 2 chunks +12 lines, -4 lines 0 comments Download
A tools/testing/dart/browser_perf_testing/lib/browser_perf_testing.dart View 1 2 1 chunk +146 lines, -0 lines 0 comments Download
A tools/testing/dart/browser_perf_testing/pubspec.yaml View 1 chunk +10 lines, -0 lines 0 comments Download
M tools/testing/dart/http_server.dart View 2 chunks +5 lines, -2 lines 0 comments Download
A + tools/testing/dart/perf_test_controller.js View 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M tools/testing/perf_testing/run_perf_tests.py View 1 2 3 4 6 chunks +26 lines, -204 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Emily Fortuna
This is the first step (of several) to switch performance testing over to use the ...
6 years, 10 months ago (2014-02-26 19:33:33 UTC) #1
ricow1
The two files LGTM, could you add a comment why we need it for completeness? ...
6 years, 9 months ago (2014-02-27 08:12:12 UTC) #2
kustermann
http_server/browser_controller: LGTM Ad mentioned in a comment, please add an import to "dart/tests/standalone/io/test_harness_analyzer_test.dart", so we ...
6 years, 9 months ago (2014-02-27 09:37:15 UTC) #3
Emily Fortuna
+ vsm for dromaeo updates. https://codereview.chromium.org/178223008/diff/200001/tools/testing/dart/browser_perf_testing/lib/browser_perf_testing.dart File tools/testing/dart/browser_perf_testing/lib/browser_perf_testing.dart (right): https://codereview.chromium.org/178223008/diff/200001/tools/testing/dart/browser_perf_testing/lib/browser_perf_testing.dart#newcode1 tools/testing/dart/browser_perf_testing/lib/browser_perf_testing.dart:1: // Copyright (c) 2014, ...
6 years, 9 months ago (2014-02-27 19:27:48 UTC) #4
kustermann
https://codereview.chromium.org/178223008/diff/220001/tests/standalone/io/test_harness_analyzer_test.dart File tests/standalone/io/test_harness_analyzer_test.dart (right): https://codereview.chromium.org/178223008/diff/220001/tests/standalone/io/test_harness_analyzer_test.dart#newcode7 tests/standalone/io/test_harness_analyzer_test.dart:7: import '../../../tools/testing/dart/browser_perf_testing/lib/browser_perf_testing.dart' as browser_perf_testing; On 2014/02/27 19:27:48, Emily Fortuna ...
6 years, 9 months ago (2014-02-28 08:22:53 UTC) #5
vsm
lgtm for dromaeo changes https://codereview.chromium.org/178223008/diff/260001/tools/testing/perf_testing/run_perf_tests.py File tools/testing/perf_testing/run_perf_tests.py (right): https://codereview.chromium.org/178223008/diff/260001/tools/testing/perf_testing/run_perf_tests.py#newcode744 tools/testing/perf_testing/run_perf_tests.py:744: file_path = '/'.join(['/root_dart', dromaeo_path, 'index%s.html?%s'% ...
6 years, 9 months ago (2014-02-28 18:40:47 UTC) #6
Emily Fortuna
Committed patchset #5 manually as r33171 (presubmit successful).
6 years, 9 months ago (2014-02-28 21:06:37 UTC) #7
Emily Fortuna
@Martin, if you have suggestions for how to better integrate with browser_controller.dart given the postMessage ...
6 years, 9 months ago (2014-02-28 21:09:17 UTC) #8
kustermann
6 years, 9 months ago (2014-03-05 10:44:41 UTC) #9
Message was sent while issue was closed.
On 2014/02/28 21:09:17, Emily Fortuna wrote:
> @Martin, if you have suggestions for how to better integrate with
> browser_controller.dart given the postMessage and correctness test
constraints,
> I'm happy to make follow up modifications. I agree the current state is not
> ideal as-is.
> 

Actually I do have a suggestion on how to solve it. The browser controller
should ignore all messages, except the ones ment for it. Here's a CL with the
changes to the browser controller:
https://codereview.chromium.org/177333004/

This was on my plate for a while, now I finally did a CL for it.

Powered by Google App Engine
This is Rietveld 408576698