OLD | NEW |
1 Overview: | 1 Overview: |
2 These are the instructions to run a wide variety of browser tests using | 2 These are the instructions to run a wide variety of browser tests using |
3 test.dart or dart/tools/testing/perf_testing/run_perf_tests.py. Currently | 3 test.dart or dart/tools/testing/perf_testing/run_perf_tests.py. Currently |
4 the results of run_perf_tests are uploaded to | 4 the results of run_perf_tests are uploaded to |
5 https://dartperf.googleplex.com/. | 5 https://dartperf.googleplex.com/. |
6 | 6 |
7 ========= General Browser Setup ========== | 7 ========= General Browser Setup ========== |
8 | 8 |
9 See instructions on: | 9 See instructions on: |
10 https://code.google.com/p/dart/wiki/BrowserTestSetup | 10 https://code.google.com/p/dart/wiki/BrowserTestSetup |
11 | 11 |
12 ========= Proceed further only if you also want to run performance tests.====== | 12 ========= Proceed further only if you also want to run performance tests.====== |
13 | 13 |
14 1) Download appengine for Python and place it in third_party (http://code.google
.com/appengine/downloads.html#Google_App_Engine_SDK_for_Python): | 14 1) Pull down benchmarks from internal repo (Google only): |
15 "dart/third_party/appengine-python/" | |
16 | |
17 2) Install matplotlib http://matplotlib.sourceforge.net/ | |
18 | |
19 3) Pull down benchmarks from internal repo (Google only): | |
20 http://chromegw.corp.google.com/viewvc/dash/trunk/internal/browserBenchmarks/
README.txt?view=markup | 15 http://chromegw.corp.google.com/viewvc/dash/trunk/internal/browserBenchmarks/
README.txt?view=markup |
21 | 16 |
22 4) Create a directory in called appengine-python in third_party. Download and | 17 2) Create a directory in called appengine-python in third_party. Download the |
23 install App Engine in the directory you just created. | 18 Linux/Other Platforms .zip file, and place the contents in the directory |
24 http://code.google.com/appengine/downloads.html | 19 you just created. |
| 20 http://code.google.com/appengine/downloads.html#Google_App_Engine_SDK_for_Pyt
hon |
25 | 21 |
26 5) Run the tests! While standing in dart/tools/testing/perf_testing, run | 22 3) Run the tests! While standing in dart/tools/testing/perf_testing, run |
27 $> python run_perf_tests.py --forever --verbose | 23 $> python run_perf_tests.py --forever --verbose |
28 to run all the tests (browser performance, language correctness in the | 24 to run all the tests (browser performance, language correctness in the |
29 browser, command line performance, and self-hosted compile time and compiled | 25 browser, command line performance, and self-hosted compile time and compiled |
30 code size). | 26 code size). |
31 | 27 |
32 You can run individual tests by adding the particular option (such as | 28 You can run individual tests by adding the particular option (such as |
33 --language) when running create_graph.py. Type "create_graph.py -h" for a | 29 --language) when running create_graph.py. Type "create_graph.py -h" for a |
34 full list of the options. | 30 full list of the options. |
OLD | NEW |