Changeset 105848 in webkit


Ignore:
Timestamp:
Jan 24, 2012 10:08:41 PM (12 years ago)
Author:
rniwa@webkit.org
Message:

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):

Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/config.json

    r102465 r105848  
    229229                      "name": "Chromium Mac Release (Tests)", "type": "NewBuildAndTest", "builddir": "chromium-mac-release-tests",
    230230                      "platform": "chromium-mac", "configuration": "release", "architectures": ["i386"],
    231                       "slavenames": ["google-mac-2", "google-mac-4"]
     231                      "slavenames": ["google-mac-2"]
    232232                    },
    233233                    {
     
    250250                      "platform": "chromium-android", "configuration": "release", "architectures": ["i386"],
    251251                      "slavenames": ["google-linux-android"]
     252                    },
     253                    {
     254                      "name": "Chromium Mac Release (Perf)", "type": "BuildAndPerfTest", "builddir": "chromium-mac-perf-tests",
     255                      "platform": "chromium-mac", "configuration": "release", "architectures": ["i386"],
     256                      "slavenames": ["google-mac-4"]
    252257                    },
    253258                    {
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg

    r104420 r105848  
    613613    command = ["perl", "./Tools/Scripts/run-chromium-webkit-unit-tests",
    614614               WithProperties("--%(configuration)s")]
     615
     616
     617class RunAndUploadPerfTests(shell.Test):
     618   name = "perf-test"
     619   description = ["perf-tests running"]
     620   descriptionDone = ["perf-tests"]
     621   command = ["python", "./Tools/Scripts/run-perf-tests",
     622              "--output-json-path", "perf-test-results.json",
     623              "--source-json-path", "../../perf-test-config.json",
     624              "--test-results-server", "webkit-perf.appspot.com",
     625              "--builder-name", WithProperties("%(buildername)s"),
     626              "--build-number", WithProperties("%(buildnumber)s"),
     627              "--platform", WithProperties("%(fullPlatform)s"),
     628              WithProperties("--%(configuration)s")]
     629
     630   def start(self):
     631       self.setCommand(self.command)
     632       return shell.Test.start(self)
    615633
    616634
     
    750768    TestClass = RunWebKit2Tests
    751769
     770class BuildAndPerfTestFactory(Factory):
     771    def __init__(self, platform, configuration, architectures, **kwargs):
     772        Factory.__init__(self, platform, configuration, architectures, False, **kwargs)
     773        if platform.startswith("chromium"):
     774            self.addStep(CleanupChromiumCrashLogs)
     775        self.addStep(CompileWebKit)
     776        self.addStep(RunAndUploadPerfTests)
     777
    752778class PlatformSpecificScheduler(AnyBranchScheduler):
    753779    def __init__(self, platform, branch, **kwargs):
  • trunk/Tools/ChangeLog

    r105842 r105848  
     12012-01-23  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        WebKit needs public performance tests running on public bots
     4        https://bugs.webkit.org/show_bug.cgi?id=10266
     5
     6        Reviewed by Adam Barth.
     7
     8        Completes the initial implementation of WebKit Perf bots. Add a build step for run-perf-test
     9        and make google-mac-4 run it, and upload the results to webkit-perf.webkit.org.
     10
     11        * BuildSlaveSupport/build.webkit.org-config/config.json:
     12        * BuildSlaveSupport/build.webkit.org-config/master.cfg:
     13        (RunAndUploadPerfTests):
     14        (RunAndUploadPerfTests.start):
     15        (UploadPerfTestResults):
     16        (BuildAndPerfTestFactory):
     17        (BuildAndPerfTestFactory.__init__):
     18
    1192012-01-24  Ojan Vafai  <ojan@chromium.org>
    220
Note: See TracChangeset for help on using the changeset viewer.