gecko-dev/js/perf
pschwartau%netscape.com 0f5c835578 Updating README to reflect addition of collect.cgi to mozilla/js/perf/. 2003-12-23 22:46:04 +00:00
..
images Trying to correct initial checkin via admin -kb (these are binary files and should have been added to CVS via add -kb). 2003-12-13 19:25:53 +00:00
tests Initial add. JS shell performance test by mazielobo@netscape.com. 2003-12-08 18:59:19 +00:00
README Updating README to reflect addition of collect.cgi to mozilla/js/perf/. 2003-12-23 22:46:04 +00:00
README-jsPerformance.html Correcting a typo. 2003-12-13 19:37:43 +00:00
collect.cgi Initial add. This is a CGI script that jsPerformance.pl can log results to. 2003-12-23 22:44:51 +00:00
jsPerformance.pl

README

jsPerformance.pl is an adaptation by mazielobo@netscape.com
of the JS Engine test driver (jsDriver.pl by rginda@netscape.com).

Whereas jsDriver.pl runs qualitative tests with pass-fail output,
jsPerformance.pl runs performance tests, with timing output.

The driver outputs results files as peers to the test driver, and like
jsDriver.pl, expects tests to be in a directory structure two levels deep.

Additionally, jsPerformance.pl can post to a CGI script for logging,
e.g. http://lxr.mozilla.org/mozilla/source/webtools/graph/collect.cgi.
For convenience, we have included collect.cgi in mozilla/js/perf/.

You can use collect.cgi locally to log performance results over time
from one machine. If installed on a web server, many different machines
can log results to it. Note that collect.cgi depends on CGI modules
available at http://stein.cshl.org/WWW/software/CGI::modules/.

Note: the call to send_results_to_server() is currently commented out.
If you want to post results to collect.cgi, uncomment it as appropriate.