1
edit
Changes
→Cygwin Setup
=Cygwin Setup=
* [http://www.cygwin.com/setup.exe Cygwin]
**Download cygwin. **Install cygwin with the DOS-style line endings.(Use the default root directory, which is C:\)
**At minimum, you are required to have the following additional tools:
***unzip (Archive category)
** Script: [http://www.yorku.ca/abel/liz/mozilla/perfconfig.sh Script to configure Firefox Performance Testing Framework]
*Edit the script to your own choosing. You may provide a list of extensions to install and test in the [[#Config_File_.28config.yaml.29 | config.yaml]] section.
*Note: <b>This script will run the performance testing.Running performance testing will close all opened Firefox browsers</b> ! If don't wish for that to happen, simply comment out the last line of the script (to comment out, use #):
<pre>
#./run_tests.py config.yaml;
=Run Firefox Performance Tests=
*By default, the <b>[[run_tests.py]]</b> file that you need to execute to run the Firefox Performance Testing is located at <b>c:\mozilla\testing\performance\win32\</b>*You can use a space-separated list of config files, to generate a report of startup and page load times*Before you run Firefox Performance Testing, refer to [[#What_happens_when_you_run_Firefox_Performance_Tests | What happens when you run Firefox Performance Tests]]*You can run <b>[[run_tests.py]]</b> either from the DOS prompt or Cygwin:
<br />
<b>DOS</b>
<pre>$run_tests.py config.yaml<anotherConfig.yaml></pre>
<br />
<b>Cygwin</b>
<pre>./run_tests.py config.yaml<anotherConfig.yaml></pre>
=Things you can configure manually=
*If you run the [[perfconfig.sh]] script, a config.yaml file will be written to '''C:\mozilla\testing\performance\win32\''' config.yaml or refer to [[sample.config]]
*You may have as many config files as you need to use for your Performance Testing
*The framework takes as many arguments as you provide when you run [[run_tests.py]]:** Refer to [[#Run_Firefox_Performance_Tests | Run Firefox Performance Tests]]
*For more information, refer to [[#Config_File_.28config.yaml.29 | Config File (config.yaml)]]
* If you see '''processing... Performance Testing is starting''', performance testing is running..
* You can check the progress by the progress bar
* After the performance testing is done, your reports will be placed in the [[#REPORTS_DIR | REPORTS_DIR]] directory you specified in [[paths.py]]
** <b>By default, it your reports will go to: C:\mozilla\testing\performance\win32\extension_perf_reports</b>
* You can use a space-separated list of config files, to generate a report of startup and page load times.
** Refer to [[#Run_Firefox_Performance_Tests | Run Firefox Performance Tests]]