Changes

Jump to: navigation, search
no edit summary
5. Run '''run_tests.py''' with the name of your config file as an argument. You can use a space-separated list of config files, to generate a report of startup and page load times. The report will be placed in the REPORTS_DIR directory you specified in paths.py.
DIRECTORY STRUCTURE:=Directory Structure of Performance Testing Framework= ==page_load_test/== This directory contains the JavaScript files and html data files for the page load test. The page load test opens a new window and cycles through loading each html file, timing each load. ==startup_test/== This directory contains the JavaScript to run the startup test. It measures how long it takes Firefox to start up. ==base_profile/== This directory contains the base profile used for testing. A copy of this profile is made for each testing profile, and extensions or prefs are added according to the test_configs array in run_tests.py. For the page load test to run correctly, the hostperm.1 file must be set to allow scheme:file uris to open in new windows, and the pref to force a window to open in a tab must not be set. The dom.allow_scripts_to_close_windows pref should also be set to true. The browser.shell.checkDefaultBrowser pref should be set to false. ==run_tests.py, paths.py== These files should be configured to run the test on different machines, with different extensions or preferences. See setup above.
1
edit

Navigation menu