{
"name": "Chromium Mac Release (Tests)", "type": "NewBuildAndTest", "builddir": "chromium-mac-release-tests",
"platform": "chromium-mac", "configuration": "release", "architectures": ["i386"],
- "slavenames": ["google-mac-2", "google-mac-4"]
+ "slavenames": ["google-mac-2"]
},
{
"name": "Chromium Linux Release", "type": "Build", "builddir": "chromium-linux-release",
"platform": "chromium-android", "configuration": "release", "architectures": ["i386"],
"slavenames": ["google-linux-android"]
},
+ {
+ "name": "Chromium Mac Release (Perf)", "type": "BuildAndPerfTest", "builddir": "chromium-mac-perf-tests",
+ "platform": "chromium-mac", "configuration": "release", "architectures": ["i386"],
+ "slavenames": ["google-mac-4"]
+ },
{
"name": "WinCairo Release", "type": "BuildAndTest", "builddir": "win-cairo-release",
"platform": "wincairo", "configuration": "release", "architectures": ["i386"],
WithProperties("--%(configuration)s")]
+class RunAndUploadPerfTests(shell.Test):
+ name = "perf-test"
+ description = ["perf-tests running"]
+ descriptionDone = ["perf-tests"]
+ command = ["python", "./Tools/Scripts/run-perf-tests",
+ "--output-json-path", "perf-test-results.json",
+ "--source-json-path", "../../perf-test-config.json",
+ "--test-results-server", "webkit-perf.appspot.com",
+ "--builder-name", WithProperties("%(buildername)s"),
+ "--build-number", WithProperties("%(buildnumber)s"),
+ "--platform", WithProperties("%(fullPlatform)s"),
+ WithProperties("--%(configuration)s")]
+
+ def start(self):
+ self.setCommand(self.command)
+ return shell.Test.start(self)
+
+
class ArchiveTestResults(shell.ShellCommand):
command = ["python", "./Tools/BuildSlaveSupport/test-result-archive",
WithProperties("--platform=%(platform)s"), WithProperties("--%(configuration)s"), "archive"]
class TestWebKit2Factory(TestFactory):
TestClass = RunWebKit2Tests
+class BuildAndPerfTestFactory(Factory):
+ def __init__(self, platform, configuration, architectures, **kwargs):
+ Factory.__init__(self, platform, configuration, architectures, False, **kwargs)
+ if platform.startswith("chromium"):
+ self.addStep(CleanupChromiumCrashLogs)
+ self.addStep(CompileWebKit)
+ self.addStep(RunAndUploadPerfTests)
+
class PlatformSpecificScheduler(AnyBranchScheduler):
def __init__(self, platform, branch, **kwargs):
self.platform = platform
+2012-01-23 Ryosuke Niwa <rniwa@webkit.org>
+
+ WebKit needs public performance tests running on public bots
+ https://bugs.webkit.org/show_bug.cgi?id=10266
+
+ Reviewed by Adam Barth.
+
+ Completes the initial implementation of WebKit Perf bots. Add a build step for run-perf-test
+ and make google-mac-4 run it, and upload the results to webkit-perf.webkit.org.
+
+ * BuildSlaveSupport/build.webkit.org-config/config.json:
+ * BuildSlaveSupport/build.webkit.org-config/master.cfg:
+ (RunAndUploadPerfTests):
+ (RunAndUploadPerfTests.start):
+ (UploadPerfTestResults):
+ (BuildAndPerfTestFactory):
+ (BuildAndPerfTestFactory.__init__):
+
2012-01-24 Ojan Vafai <ojan@chromium.org>
Initializing the browser property of the Bugzilla class takes too long