Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Experiments and contributions to WebKit. Tracks git://git.webkit.org/WebKit.git

Make it possible to run performance tests on Chromium Android

https://bugs.webkit.org/show_bug.cgi?id=103268

Reviewed by Ryosuke Niwa.

Based on a patch by Peter Beverloo.

This patch (almost) makes it possible to run WebKit performance tests
on the Chromium port for Android. There are a few things I had to do
in order to make this happen:

1) The worker number when creating a driver for a port is zero-based
   for layout tests and elsewhere. Android uses this to determine
   which device it has to run on, so make it zero based for performance
   tests as well.

2) Tests aren't available on the Android device, so we start an HTTP
   server that serves the tests to the device or emulator.

The one shortcoming of this patch is that chromium-android produces
some stderr output that confuses run-perf-tests. I'll address that
issue in a subsequent CL. This patch also depends on
https://codereview.chromium.org/11416182 in order to work.

* Scripts/webkitpy/layout_tests/port/chromium_android.py:
(ChromiumAndroidPort.start_http_server):
(ChromiumAndroidDriver._command_from_driver_input):
* Scripts/webkitpy/performance_tests/perftest.py:
(ReplayPerfTest.prepare):
* Scripts/webkitpy/performance_tests/perftestsrunner.py:
(PerfTestsRunner.__init__):
(PerfTestsRunner._parse_args):
(PerfTestsRunner._start_servers):
(PerfTestsRunner):
(PerfTestsRunner._stop_servers):
(PerfTestsRunner.run):
(PerfTestsRunner._run_tests_set):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135930 268f45cc-cd09-0410-ab3c-d52691b4dbfc
latest commit 044126629b
abarth@webkit.org authored
Octocat-spinner-32 Examples Rollback 88521
Octocat-spinner-32 LayoutTests Unreviewed, updating TestExpectations after input slider change.
Octocat-spinner-32 ManualTests Store MutationObserver callback in a hidden property for V8
Octocat-spinner-32 PerformanceTests Changing id, className, or attribute should invalidate distribution
Octocat-spinner-32 Source [chromium] Add WebLayerTreeViewClient API to request font atlas
Octocat-spinner-32 Tools Make it possible to run performance tests on Chromium Android
Octocat-spinner-32 WebKit.xcworkspace Add ability to create AtomicString using LChar* buffer and length
Octocat-spinner-32 WebKitLibraries Unreviewed. ENABLE_ACCELERATED_OVERFLOW_SCROLLING not enabled on Wind…
Octocat-spinner-32 Websites Substitute "use" for "user" in sentence about naming convention for
Octocat-spinner-32 .dir-locals.el emacs: unreviewed. add settings for editing js files.
Octocat-spinner-32 .gitattributes Tell git-archive to not export .gitattributes and .gitignore
Octocat-spinner-32 .gitignore Add files generated by Windows to ignore list for git repository
Octocat-spinner-32 .qmake.conf [Qt] Fix build of modules depending on QtWebKit when using prefix
Octocat-spinner-32 CMakeLists.txt Unreviewed, rolling out r130656.
Octocat-spinner-32 ChangeLog [EFL] CMake shows ENABLE_3D_RENDERING and ENABLE_WEBGL is still OFF w…
Octocat-spinner-32 ChangeLog-2012-05-22 .: == Rolled over to ChangeLog-2012-05-22 ==
Octocat-spinner-32 GNUmakefile.am [GTK] Split SVG from WebCore to work-around make limitation
Octocat-spinner-32 Makefile Entering "make" in Source builds only JavaScriptGlue and ANGLE
Octocat-spinner-32 Makefile.shared <http://webkit.org/b/77717> Makefile should provide control over outp…
Octocat-spinner-32 WebKit.pro [Qt] Separate QWidget dependant code into separate WebKitWidgets stat…
Octocat-spinner-32 autogen.sh [GTK] Respect NOCONFIGURE option in autogen.sh
Octocat-spinner-32 configure.ac [GTK] Explicitly link against librt
Octocat-spinner-32 wscript [wx] Unreviewed build fix. Disable compilation of WebDOM file for now,
Something went wrong with that request. Please try again.