• ariblue@google.com's avatar
    Refactor of record_wpr.py · 9754c0b5
    ariblue@google.com authored
    * Breaks major steps out into functions
    * Adds additional tests
    * Adds support for command line flags defined in benchmarks
    * Calls the PageTest RunPage directly, rather than kinda sorta reimplementing parts ourselves
    * Fixes running benchmarks with record_wpr.py (crbug.com/378064)
    * Page sets are referenced via class name on the command line, rather than by filename.
    
    Other minor changes:
    * Output will be different for failed pages at the end, using the default results PrintSummary() rather than a separate implementation (in this case GTestTestResults).
    
    BUG=378064,367292
    
    Review URL: https://codereview.chromium.org/374793002
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285490 0039d316-1c4b-4281-b951-d872f2087c98
    9754c0b5
page_measurement3.py 500 Bytes