[Laszlo-dev] For Review: Change 20061128-ben-N Summary: New performance tests for image and text performance

Max Carlson max at openlaszlo.org
Thu Nov 30 14:26:18 PST 2006


Benjamin Shine wrote:
> Change 20061128-ben-N by ben at cooper.local on 2006-11-28 20:20:35 PST
>     in /Users/ben/src/svn/openlaszlo/branches/legals
> 
> Summary: New performance tests for image and text performance
> 
> New Features:
> 
> Bugs Fixed:
>    LPP-2919 (partial) Create performance matrix to compare performance 
> metrics
>    across Flash and browser runtimes to trunk
>    LPP-3066 Create performance tests for text creation
> 
> Technical Reviewer: max (pending)
> QA Reviewer: none
> Doc Reviewer: none
> 
> Documentation:
> 
> Added a few more tests to the benchmarking tools to test text creation, 
> text
> rendering, image loading, image rendering, image scaling, and image 
> blending.
> 
> Release Notes:
> 
> Details:
> 
> 
> Tests:
> http://localhost:8080/legals/test/lfc/perf/imageperformance.lzx?lzr=swf8
> http://localhost:8080/legals/test/lfc/perf/imageperformance.lzx?lzr=dhtml
> http://localhost:8080/legals/test/lfc/perf/textperformance.lzx?lzr=swf8
> http://localhost:8080/legals/test/lfc/perf/textperformance.lzx?lzr=dhtml
> 
> 
> Files:
> A      test/lfc/perf/imageperformance.lzx
> A      test/lfc/perf/textperformance.lzx
> A      test/lfc/perf/resources
> A      test/lfc/perf/resources/marooned.jpg
> A      test/lfc/perf/resources/sunnycat.jpg
> A      test/lfc/perf/resources/marooned.png
> A      test/lfc/perf/resources/iebooks-cave.png
> M      test/lfc/perf/linkstometrics.html
> 
> 
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20061128-ben-N.tar
> 
> 
> Benjamin Shine
> Software Engineer, Open Laszlo / Laszlo Systems
> ben at laszlosystems.com
> 
> 
> 

Approved!

I general, I like my tests to start with something atomic and add to it 
incrementally.  For instance, I'll create a single image.  Then I'll 
create a single image with a resource.  Then a single image with 
setSource.  I strive for the smallest diff between each subsequent test 
so I can clearly see the differences between them.

Also, you don't have to send tests out for review ;).

-- 
Regards,
Max Carlson
OpenLaszlo.org


More information about the Laszlo-dev mailing list