Change 20061112-ben-k by [EMAIL PROTECTED] on 2006-11-12 13:02:37 PST
in /Users/ben/src/svn/tools/trunk/performance
Summary: Improvements to performance analysis tools
New Features: build file to run analysis and report results
Bugs Fixed: part of LPP-2919, create performance metrics
Technical Reviewer: hminsky (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
This checkin adds build file in performance/cruncher/build.xml which
fetches the raw performance logs for the specified build from
subversion, runs the java performance analysis tool on it, and mails
the results to a few interested parties. "ant go" is all you need.
The cruncher analyzes whatever data is in the checked-in raw log; it
expects to analyze data recorded by test/lfc/perf/reporter.lzx via
test/lfc/perf/reporter.jsp. The reporting itself does not need to
happen on the same machine as the analysis.
Standard usage is from within the laszlosystems firewall (so we can
send mail) and as a logged-in svn user with commit access to the
repository. Then just
$ ant go
To run analysis on a particular build, pass in
-Dbuild.id=thebuildid for example
$ ant -Dbuild.id=2469-openlaszlo-branches-legals go
To prevent any interaction with subversion at all, pass in
-Dno.svn=true for example
$ ant -Dno.svn go
If you've already got the data locally and you just want to analyze
it, with no network communication, do this
$ ant -v -Dno.svn=true -Dbuild.id=2469-openlaszlo-branches-legals
analyze
$ more localanalysis/2469-openlaszlo-branches-legals-analysis.txt
Use the "clean" target to tidy up all local files. This is, of
course, destructive.
This change also adds a new filter to the analyzer, which filters for
only windows
firefox dhtml log entries.
Release Notes:
Details:
Tests:
Upon running ant go, the [EMAIL PROTECTED] mailing list
should get email with the summarized analysis of the raw data for the
most recent run. For example,
http://www.openlaszlo.org/pipermail/laszlo-builds/2006-November/
001600.html
Files:
M performance.iws
M src/org/openlaszlo/test/perf/PerfLogReaderTest.java
M src/org/openlaszlo/test/perf/AnalyzerTest.java
M src/org/openlaszlo/perf/WindowsSwfClientFilter.java
M src/org/openlaszlo/perf/PerfLogReader.java
M src/org/openlaszlo/perf/IEClientFilter.java
M src/org/openlaszlo/perf/Main.java
M src/org/openlaszlo/perf/MacSwfClientFilter.java
A src/org/openlaszlo/perf/WinFirefoxClientFilter.java
M src/org/openlaszlo/perf/MacFirefoxClientFilter.java
M src/org/openlaszlo/perf/SafariFilter.java
A cruncher
A cruncher/build.xml
M performance.ipr
M README.txt
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20061112-ben-
k.tar
Benjamin Shine
Software Engineer, Open Laszlo / Laszlo Systems
[EMAIL PROTECTED]