[Laszlo-dev] For Review: Change 20061109-ben-y Summary: Improvements to performance analysis tools

Benjamin Shine ben at laszlosystems.com
Thu Nov 9 19:03:03 PST 2006


Change 20061109-ben-y by ben at cooper.local on 2006-11-09 18:48:20 PST
     in /Users/ben/src/svn/tools/trunk

Summary: Improvements to performance analysis tools

New Features: build file to run analysis and report results

Bugs Fixed: part of LPP-2919

Technical Reviewer: jgrandy (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 laszlo-builds at openlaszlo.org mailing list  
should get email with the summarized analysis of the raw data for the  
most recent run.

Files:
M      performance/performance.iws
M      performance/src/org/openlaszlo/perf/Main.java
A      performance/src/org/openlaszlo/perf/WinFirefoxClientFilter.java
A      performance/cruncher/build.xml
M      performance/README.txt


Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20061109-ben- 
y.tar


Benjamin Shine
Software Engineer, Open Laszlo / Laszlo Systems
ben at laszlosystems.com





More information about the Laszlo-dev mailing list