Changes

Jump to: navigation, search
Introduction
=Introduction=
This documentation is the revised version of Annie Sullivan's [[Readme.txt]] for the Firefox Performance Testing.
 
Unfortunately, the Firefox Performance Testing is only catered to Windows users at this time.
=Hardware Requirements=
#Make a directory for the framework:<pre>$mkdir C:\mozilla</pre>
#Download entire [http://www.yorku.ca/abel/liz/mozilla/Win32PerfTesting_v4.zip Performance Testing Framework] (directories and all subdirectories) and put it in '''C:\mozilla'''
(one of two options 1.put reports dir in the framework 2.check if it exists and prompt user if he/she wants it created)
==Configure the paths (paths.py)==
(Lots of work in this area.. paths.py is unclear, should specify that it can be modified and that these are just defaults.. and the paths are misleading because people think that they are commands for dos)
 
To setup the appropriate paths for the framework, open the '''paths.py''' file in '''C:\mozilla\testing\performance\win32\''' and configure the paths (CYGWIN, SYNC, BASE_PROFILE_DIR, REPORTS_DIR, INIT_URL, TS_URL, TP_URL):
==Config info==
(refer to Exended Progress Chart for yaml details - a few things have to be highlighted and clarified)
 
In '''C:\mozilla\testing\performance\win32\''', create a YAML config file (config.yaml) with info about the profiles you want to test. Copy, paste and '''modify''' the following in config.yaml or refer to [[sample.config]]:
<pre>
5. In '''cmd''', run '''run_tests.py''' with the name of your config file as an argument in '''c:\mozilla\testing\performance\win32\''': <pre>$run_tests.py config.yaml</pre>
* Running the test will close any existing Firefox windows. (this part has to be highlighted)
**You might run into this message on your browser: '''This page should close Firefox. If it does not, please make sure that the dom.allow_scripts_to_close_windows preference is set to true in about:config'''
**Type '''auto:config''' in the address bar and double click on '''dom.allow_scripts_to_close_windows''' to change it to true
1
edit

Navigation menu