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