Author: ben
Date: 2006-11-13 15:03:55 -0800 (Mon, 13 Nov 2006)
New Revision: 2513
Modified:
openlaszlo/branches/legals/test/lfc/perf/dhtml.lzx
openlaszlo/branches/legals/test/lfc/perf/functions.lzx
openlaszlo/branches/legals/test/lfc/perf/sprite.lzx
Log:
Change 20061109-ben-S by [EMAIL PROTECTED] on 2006-11-09 15:31:21 PST
in /Users/ben/src/svn/openlaszlo/branches/legals
Summary: Build script to check in performance logs
New Features: Build script to check in performance logs
Bugs Fixed: Partial fix for LPP-2919 Create performance matrix to compare
performance metrics
Technical Reviewer: hminsky (via email, 11.13.2006)
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Start tomcat, and install the openlaszlo servlet as usual. Then
$ cd $LPS_HOME/test/lfc/perf
Clear out any existing log information
$ ant zaplog
Hit the performance tests, for instance,
http://localhost:8080/legals/test/lfc/perf/viewperf.lzx?lzr=dhtml
from as many browsers, os, runtimes as you like. This will write
log information to $LPS_HOME/test/lfc/perf/results.txt. Finally,
$ ant storelog
will store the raw performance log information in svn as
http://svn.openlaszlo.org/test/performance/raw/<buildid>.txt
The "storelog" target will call svn, and requires subversion 1.3
or later, as well as commit privileges to the repository.
This script isn't very interesting without svn, but if you insist
on running it without svn, call
$ ant no-svn <target>
This script doesn't make any sense at all if there isn't a
results.txt file, so we fail with an informative message
if that file doesn't exist.
Analysis of the log information will be driven by a separate tool.
This change also includes tweaks to the numbers of iterations of
particular tests, trying to make the tests take an acceptable amount
of time for interactive use. We also rename the test suites to
single lower-case words, which is friendlier to the log analyzer.
Release Notes:
Details:
Tests:
http://localhost:8080/legals/test/lfc/perf/viewperf.lzx?lzr=dhtml
http://localhost:8080/legals/test/lfc/perf/sprite.lzx?lzr=dhtml
http://localhost:8080/legals/test/lfc/perf/functions.lzx?lzr=dhtml
Modified: openlaszlo/branches/legals/test/lfc/perf/dhtml.lzx
===================================================================
--- openlaszlo/branches/legals/test/lfc/perf/dhtml.lzx 2006-11-13 22:53:00 UTC
(rev 2512)
+++ openlaszlo/branches/legals/test/lfc/perf/dhtml.lzx 2006-11-13 23:03:55 UTC
(rev 2513)
@@ -51,7 +51,7 @@
addTest("setCSSProp");
addTest("setCSSPropAttached");
- runTests( 'DHTML Native Object Timings' , 10 );
+ runTests( 'dhtmlnative' , 10 );
]]>
</script>
Modified: openlaszlo/branches/legals/test/lfc/perf/functions.lzx
===================================================================
--- openlaszlo/branches/legals/test/lfc/perf/functions.lzx 2006-11-13
22:53:00 UTC (rev 2512)
+++ openlaszlo/branches/legals/test/lfc/perf/functions.lzx 2006-11-13
23:03:55 UTC (rev 2513)
@@ -122,12 +122,12 @@
addTest("callSingleMethod", 1000 );
addTest("callTwoMethods", 1000 );
addTest("functionWith", 1000 );
- addTest("functionWithout", 1000 );
- addTest("functionDeepWith", 1000 );
+ addTest("functionWithout", 100 );
+ addTest("functionDeepWith", 100 );
addTest("noArgs", 1000 );
- addTest("manyArgs", 100 );
- addTest("doLoop", 1000 );
- addTest("doRecur", 1000 );
+ addTest("manyArgs", 1000 );
+ addTest("doLoop", 100 );
+ addTest("doRecur", 100 );
//short vs. long identifiers
//global vs. local variable vs. object property
@@ -137,7 +137,7 @@
//number of keys effect on lookup speed
- runTests( 'Functions' , 25 );
+ runTests( 'functions' , 25 );
]]>
</script>
Modified: openlaszlo/branches/legals/test/lfc/perf/sprite.lzx
===================================================================
--- openlaszlo/branches/legals/test/lfc/perf/sprite.lzx 2006-11-13 22:53:00 UTC
(rev 2512)
+++ openlaszlo/branches/legals/test/lfc/perf/sprite.lzx 2006-11-13 23:03:55 UTC
(rev 2513)
@@ -50,7 +50,7 @@
addTest("setCSSProp");
addTest("setCSSPropAttached");
- runTests( 'DHTML Native Object Timings' , 10 );
+ runTests( 'sprite' , 10 );
]]>
</script>
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins