Open main menu

CDOT Wiki β

Changes

New Firefox Performance Testing Documentation

2,215 bytes added, 15:34, 14 December 2006
no edit summary
<b>Cygwin</b>
<pre>./run_tests.py config.yaml</pre>
 
=Additional things you can configure manually=
==Configuring the paths (paths.py)==
*You may set up the appropriate paths for the framework manually.
*The current paths are set by default
*When you open the '''paths.py''' file in '''C:\mozilla\testing\performance\win32\''', you will see these paths
**[[#CYGWIN]]
**[[#SYNC]]
**[[#BASE_PROFILE_DIR]]
**[[#REPORTS_DIR]]
**[[#INIT_URL]]
**[[#TS_URL]]
**[[#TP_URL]]
 
===CYGWIN===
By default: '''CYGWIN = r'c:\cygwin\bin\bash.exe -c''''
*The path to cygwin bash to get output from dump() in Firefox
*If you didn't specify a different root directory for the Cygwin to be installed, it will be installed in '''C:\''' by default
 
 
===SYNC===
By default: <b>SYNC = r'c:\cygwin\bin\sync'</b>
*Runs sync between Ts runs
*If you didn't specify a different root directory for the Cygwin to be installed, it is in '''C:\'''
 
 
===BASE_PROFILE_DIR===
By default: <b>BASE_PROFILE_DIR = r'C:\mozilla\testing\performance\win32\base_profile'</b>
*IMPORTANT: Check that there is content in the '''base_profile''' directory
 
*(Optional) For the page load test to work, modify the '''hostperm.1''' file
**Set to allow urls with scheme:file to open in new windows
**Set the preference to open new windows in a tab should be off.
 
 
 
===REPORTS_DIR===
By default: <b>REPORTS_DIR = r'C:\mozilla\testing\performance\win32\extension_perf_reports'</b>
*The [[perfconfig.sh]] script creates a '''extension_perf_reports''' dir in '''C:\mozilla\testing\performance\win32\'''
 
 
===INIT_URL===
By default: <b>INIT_URL = 'file:///c:/mozilla/testing/performance/win32/initialize.html'</b>
*The path to the file url to load when initializing a new profile
*'''Note: Don't change the local file url to a file path'''
 
 
===TS_URL===
By default: <b>TS_URL = 'file:///c:/mozilla/testing/performance/win32/startup_test/startup_test.html?begin='</b>
*The path to the file url to load for startup test (Ts)
*'''Note: Don't change the local file url to a file path'''
 
 
===TP_URL===
By default: <b>TP_URL = 'file:///c:/mozilla/testing/performance/win32/page_load_test/cycler.html'</b>
*The path to the file url to load for page load test (Tp)
*'''Note: Don't change the local file url to a file path'''
 
 
=What happens when you run Firefox Performance Tests=
1
edit