Difference between revisions of "New Firefox Performance Testing Documentation"

From CDOT Wiki
Jump to: navigation, search
(Configuration)
(Save the script)
Line 23: Line 23:
 
*Note: This script will run the performance testing. If don't wish for that to happen, simply comment out the last line of the script:
 
*Note: This script will run the performance testing. If don't wish for that to happen, simply comment out the last line of the script:
 
<pre>
 
<pre>
 +
./run_tests.py config.yaml;
 +
</pre>
  
</pre>
 
 
===Run the script===
 
===Run the script===
 
*From cygwin, run the script.  
 
*From cygwin, run the script.  

Revision as of 01:56, 14 December 2006

Introduction

Cygwin Setup

  • Cygwin
    • Download cygwin. Install cygwin with the DOS-style line endings.
    • At minimum, you are required to have the following additional tools:
      • unzip (Archive category)
      • wget (Web category)


unzip (Archive category)
Cygwin.PNG

wget (Web category)
Cygwin2.PNG

Note: For some reason, we can't get output from Firefox unless it's wrapped in a Cygwin sh shell. So we use cygwin for that, and to sync between Firefox runs.

Configuration

Save the script

  • Save this script at a desired location
  • Edit the script to your own choosing. You may provide a list of extensions to install and test in the config.yaml section.
  • Note: This script will run the performance testing. If don't wish for that to happen, simply comment out the last line of the script:
./run_tests.py config.yaml;

Run the script

  • From cygwin, run the script.

For example:

$./perfconfig.sh

Run Firefox Performance Tests