• Peter Wen's avatar
    Android: Add //tools/android/build_speed · 3e6341df
    Peter Wen authored
    Add benchmark.py. Runs build speed benchmarks on the current repository.
    
    Example Command:
        tools/android/build_speed/benchmark.py all_incremental
    
    Example Output:
        Summary
        gn args: target_os="android" use_goma=true android_fast_local_dev=true
        gn gen: 6.7s
        chrome_java_nosig: 36.1s avg (35.9s, 36.3s)
        chrome_java_sig: 38.9s avg (38.8s, 39.1s)
        chrome_java_res: 22.5s avg (22.5s, 22.4s)
        base_java_nosig: 41.0s avg (41.1s, 40.9s)
        base_java_sig: 93.1s avg (93.1s, 93.2s)
    
    Bug: 1092528
    Change-Id: I5840f99762edbaf6b7c7cc58b0f52b98051ed33c
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2241643
    Commit-Queue: Peter Wen <wnwen@chromium.org>
    Reviewed-by: default avatarAndrew Grieve <agrieve@chromium.org>
    Auto-Submit: Peter Wen <wnwen@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#779877}
    3e6341df
OWNERS 40 Bytes