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

Issue 7617014: Allow pyauto performance tests in perf.py to run as an autotest. (Closed)

Created:
9 years, 4 months ago by dennis_jeffrey
Modified:
9 years, 4 months ago
Reviewers:
Nirnimesh
CC:
chromium-reviews, Nirnimesh, John Grabowski, anantha, dyu1, Paweł Hajdan Jr., dennis_jeffrey, krisr
Visibility:
Public.

Description

Allow pyauto performance tests in perf.py to run as an autotest. This change adds autotest control files and an associated pyauto suite for running the tests in perf.py as an autotest. This change only allows execution as an autotest, but does not enable the tests to run continuously in the autotest lab. That will be done in a later CL. I also modified perf.py so that the v8 benchmark test only runs for a single iteration, and for the other tests, the number of iterations can optionally be tweaked by setting an environment variable (useful when running the perf tests manually). BUG=chromium-os:18187, chromium-os:18185, chromium-os:18458 TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96461

Patch Set 1 #

Patch Set 2 : Minor edits. #

Total comments: 6

Patch Set 3 : Addressed first round of review comments. #

Patch Set 4 : Previous patch upload failed, trying again. #

Patch Set 5 : Minor bug fix. #

Patch Set 6 : Previous patch upload failed, trying again. #

Total comments: 2

Patch Set 7 : Addressed last minor comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -47 lines) Patch
A chrome/test/chromeos/autotest/files/client/site_tests/desktopui_PyAutoPerfTests/control View 1 1 chunk +19 lines, -0 lines 0 comments Download
A chrome/test/chromeos/autotest/files/client/site_tests/desktopui_PyAutoPerfTests/desktopui_PyAutoPerfTests.py View 1 2 1 chunk +77 lines, -0 lines 0 comments Download
M chrome/test/functional/PYAUTO_TESTS View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/test/functional/perf.py View 1 2 3 4 5 6 6 chunks +51 lines, -47 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
dennis_jeffrey
9 years, 4 months ago (2011-08-11 17:41:20 UTC) #1
Nirnimesh
http://codereview.chromium.org/7617014/diff/6/chrome/test/chromeos/autotest/files/client/site_tests/desktopui_PyAutoPerfTests/desktopui_PyAutoPerfTests.py File chrome/test/chromeos/autotest/files/client/site_tests/desktopui_PyAutoPerfTests/desktopui_PyAutoPerfTests.py (right): http://codereview.chromium.org/7617014/diff/6/chrome/test/chromeos/autotest/files/client/site_tests/desktopui_PyAutoPerfTests/desktopui_PyAutoPerfTests.py#newcode5 chrome/test/chromeos/autotest/files/client/site_tests/desktopui_PyAutoPerfTests/desktopui_PyAutoPerfTests.py:5: import dbus unused http://codereview.chromium.org/7617014/diff/6/chrome/test/functional/perf.py File chrome/test/functional/perf.py (right): http://codereview.chromium.org/7617014/diff/6/chrome/test/functional/perf.py#newcode30 chrome/test/functional/perf.py:30: ...
9 years, 4 months ago (2011-08-11 18:26:36 UTC) #2
dennis_jeffrey
http://codereview.chromium.org/7617014/diff/6/chrome/test/chromeos/autotest/files/client/site_tests/desktopui_PyAutoPerfTests/desktopui_PyAutoPerfTests.py File chrome/test/chromeos/autotest/files/client/site_tests/desktopui_PyAutoPerfTests/desktopui_PyAutoPerfTests.py (right): http://codereview.chromium.org/7617014/diff/6/chrome/test/chromeos/autotest/files/client/site_tests/desktopui_PyAutoPerfTests/desktopui_PyAutoPerfTests.py#newcode5 chrome/test/chromeos/autotest/files/client/site_tests/desktopui_PyAutoPerfTests/desktopui_PyAutoPerfTests.py:5: import dbus On 2011/08/11 18:26:36, Nirnimesh wrote: > unused ...
9 years, 4 months ago (2011-08-11 19:29:31 UTC) #3
dennis_jeffrey
I found one minor bug after uploading my previous comments, which I have fixed in ...
9 years, 4 months ago (2011-08-11 20:42:51 UTC) #4
Nirnimesh
LGTM http://codereview.chromium.org/7617014/diff/8001/chrome/test/functional/perf.py File chrome/test/functional/perf.py (right): http://codereview.chromium.org/7617014/diff/8001/chrome/test/functional/perf.py#newcode150 chrome/test/functional/perf.py:150: self.WaitUntil( wrap this inside assertTrue()
9 years, 4 months ago (2011-08-11 21:21:23 UTC) #5
dennis_jeffrey
9 years, 4 months ago (2011-08-11 21:39:51 UTC) #6
Thank you for reviewing this code.  I addressed the last comment and will submit
now.

http://codereview.chromium.org/7617014/diff/8001/chrome/test/functional/perf.py
File chrome/test/functional/perf.py (right):

http://codereview.chromium.org/7617014/diff/8001/chrome/test/functional/perf....
chrome/test/functional/perf.py:150: self.WaitUntil(
On 2011/08/11 21:21:23, Nirnimesh wrote:
> wrap this inside assertTrue()

Done.

Powered by Google App Engine
This is Rietveld 408576698