Skip to content

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