Changes

Jump to: navigation, search
Configure the paths (paths.py)
==Configure the paths (paths.py)==
To setup the appropriate paths for the framework, open the '''paths.py''' file in '''c:\mozilla\testing\performance\win32\''' and configure the paths:
 
===CYGWIN===
*Path to cygwin bash to get output from dump() in Firefox
*By default, the Cygwin you just installed is in your '''C:\ drive'''
===SYNC===
*Run sync between Ts runs
*By default, the Cygwin you just installed is in your '''C:\ drive'''
===BASE_PROFILE_DIR===
OR
**Configure Set REPORT_DIR path to a directory where you want the reports to go into. Make sure that directory is created
===INIT_URL===
*Path to the file url to load when initializing a new profile
*Check that '''initialize.html''' is in '''C:\mozilla\testing\performance\win32\'''
*'''Note: Don't change the local file url to a file path '''
<pre>INIT_URL = 'file:///c:/mozilla/testing/performance/win32/initialize.html'</pre>
*The path to the file url to load for startup test (Ts)
*Check that '''startup_test.html''' is in '''C:\mozilla\testing\performance\win32\startup_test'''
*'''Note: Don't change the local file url to a file path '''
<pre>TS_URL = 'file:///c:/mozilla/testing/performance/win32/startup_test/startup_test.html?begin='</pre>
*The path to the file url to load for page load test (Tp)
*Check that '''cycler.html''' is in '''C:\mozilla\testing\performance\win32\page_load_test'''
*'''Note: Don't change the local file url to a file path '''
<pre>TP_URL = 'file:///c:/mozilla/testing/performance/win32/page_load_test/cycler.html'</pre>
Create In '''C:\mozilla\testing\performance\win32\''', create a YAML config file (config.yaml) with info about the profiles you want to test. Copy and paste the following into config.yaml:
<pre>
# Filename will be appended to the timestamp in the report filename.
foo@sample.com : c:\path\to\other\unzipped\xpi
</pre>
 
*Note:
** Check that your firefox path is right
1
edit

Navigation menu