2 :: Copyright (c) 2012 The Chromium Authors. All rights reserved.
\r
3 :: Use of this source code is governed by a BSD-style license that can be
\r
4 :: found in the LICENSE file.
\r
7 echo 'usage: test-throughput path\to\tests.json [0..n test_index]'
\r
8 echo ' run in the same directory as performance_browser_tests'
\r
12 for /f "tokens=3" %%i in ('find /c """url"":" %1') do set num_tests=%%i
\r
14 set filter=*ThroughputTest*TestURL
\r
16 set args1=--gtest_filter=%filter% --gtest_also_run_disabled_tests
\r
17 set args2=--window-size=1400,1100 --window-position=0,0 --enable-gpu
\r
20 for /L %%G in (0,1,%num_tests%) do (
\r
21 performance_browser_tests.exe %args1% %args2% --extra-chrome-flags=%1:%%G
\r
24 performance_browser_tests.exe %args1% %args2% --extra-chrome-flags=%1:%2
\r