• machenbach's avatar
    Make JSTests ready for Android measurements. · 1364ea7c
    machenbach authored
    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}
    1364ea7c
run_perf.py 21.6 KB