Skip to content

Commit

Permalink
Bug 1779822 - Create new mozperftest later for Fenix and nightly star…
Browse files Browse the repository at this point in the history
…tup bechmarks. r=perftest-reviewers,sparky

Differential Revision: https://phabricator.services.mozilla.com/D154126
  • Loading branch information
Andrej1198 committed Dec 15, 2022
1 parent de9fe1a commit 7dcebad
Show file tree
Hide file tree
Showing 9 changed files with 554 additions and 12 deletions.
11 changes: 7 additions & 4 deletions python/mozperftest/mozperftest/system/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from mozperftest.layers import Layers
from mozperftest.system.proxy import ProxyRunner
from mozperftest.system.android import AndroidDevice
from mozperftest.system.profile import Profile
from mozperftest.system.android_startup import AndroidStartUp
from mozperftest.system.macos import MacosDevice
from mozperftest.system.pingserver import PingServer
from mozperftest.system.profile import Profile
from mozperftest.system.proxy import ProxyRunner


def get_layers():
return PingServer, Profile, ProxyRunner, AndroidDevice, MacosDevice
return PingServer, Profile, ProxyRunner, AndroidDevice, MacosDevice, AndroidStartUp


def pick_system(env, flavor, mach_cmd):
Expand All @@ -26,7 +27,9 @@ def pick_system(env, flavor, mach_cmd):
),
)
if flavor == "mobile-browser":
return Layers(env, mach_cmd, (Profile, ProxyRunner, AndroidDevice))
return Layers(
env, mach_cmd, (Profile, ProxyRunner, AndroidDevice, AndroidStartUp)
)
if flavor == "webpagetest":
return Layers(env, mach_cmd, (Profile,))
raise NotImplementedError(flavor)
Loading

0 comments on commit 7dcebad

Please sign in to comment.