From ff7239602754f10250773337cdee3ffa797da15b Mon Sep 17 00:00:00 2001 From: "attinasi%netscape.com" Date: Wed, 23 Feb 2000 18:07:46 +0000 Subject: [PATCH] Temporary documentation... git-svn-id: svn://10.0.0.236/trunk@61494 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/tools/performance/layout/readme.txt | 27 +++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 mozilla/tools/performance/layout/readme.txt diff --git a/mozilla/tools/performance/layout/readme.txt b/mozilla/tools/performance/layout/readme.txt new file mode 100644 index 00000000000..6be6a5e52b0 --- /dev/null +++ b/mozilla/tools/performance/layout/readme.txt @@ -0,0 +1,27 @@ +readme.txt - if there is a perf.html file, read that, it contains the full documentation. This file is a stop-gap until the documentation is completed. + +BASICS: to run the performance tool simply execute the perf.pl script. + eg. perl perf.pl Daily-021400 s:\mozilla\dist\win32_o.obj CPU + +This command will run viewer, crawl the top 40 URLs, dump the results to a file and subsequently parse the file to create the HTML performance table. + +To run Mozilla instead of viewer, edit the perf.pl script and change the $UseViewer variable value to 0. Then, run the perf.pl script, except there is an additional argument: + perl perf.pl Daily-021400 s:\mozilla\dist\win32_o.obj CPU profilename + +Including the profilename is essential, and the profilename specified must reference a valid profile. + +The output from the scripts is: + +1) BUILD_NAME.html in the Tables directory - the performance table +2) BUILD_NAME-TrendTable.html in the Tables directory - the trending table +3) BUILD_NAME directory under Logs - includes all of the original log files +4) history.txt - appends the latest averages to the history file + +If a run is aborted or is not to be used, the history.txt file must be edited to remove the bogus run. + +If problems arise in the scripts, there are debug routeins in each script file. Simply remove the comment from the print line and re-run to get diagnostics dumped to the console. + + + +... more to come... +