Make JSTests ready for Android measurements.
authormachenbach <machenbach@chromium.org>
Thu, 4 Dec 2014 10:37:36 +0000 (02:37 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 4 Dec 2014 10:37:42 +0000 (10:37 +0000)
commit1364ea7c77ed3063e9266fc14e8d76f71a933129
tree3be3729fd5ead99a1874820a878a1fa5d616716b
parentccf68a7b92d568223990d3310c5bb925ac6f5718
Make JSTests ready for Android measurements.

This adds a common perf configuration for JSTests including
Classes, Collections, Iterators and Strings. This allows
the android test runner to handle subdirectories correctly
and to share the base.js resource in the parent directory.

The new json config has added resources configs for the
Android runner.

The perf runner's relative paths on the device are fixed as
well. Resources are only pushed on the configuration node
where they are specified. They are pushed to a dir on the
device that follows the same directory structure as on the
host. The binary is executed in the benchmark folder on the
device like on the host to allow relative path file
loading.

BUG=chromium:374740
LOG=n
TEST=python -m unittest run_perf_test
TBR=ulan@chromium.org
NOTRY=true

Review URL: https://codereview.chromium.org/779923002

Cr-Commit-Position: refs/heads/master@{#25655}
test/js-perf-test/JSTests.json [new file with mode: 0644]
tools/run_perf.py