| I just finished uploading a new tutorial showing how you can test the performance of your ActionScript 3 code. Grant Skinner recently released a great library called PerformanceTest which makes it easy to test out your code. In the tutorial I show how to use the library to test individual functions as well as a whole suite of functions. Always test out your code to be sure you’re using the fastest techniques. |
Lee








Excellent ! Thanks
Very good tutorial. I will do the performance test! Thank you
Hi Lee,
Great tutorial again. I was just wondering if you are using a new snippet tool for Eclipse. I saw it allowed for you to put in the variable via a pop up box. Thats something I might be interested in.
Thanks,
Troy J
Perfect. Thanks !!
Been needing something like this recently. Thank you!
regarding optimization:
Couldn’t many of the optimization tips going around be handled within the flash player when it’s compiled? i.e. if multiplication is faster than division in the fp, can’t all width/2 code be rewritten to width*.5?
Hoping you can shed some light on this…
Do you know any Flash Component that can load Picture and Video with simple loading Image and Playe Video ? like as cooliris.com work
I used this class to test the performance of augmented reality and make a comparison between Away3D and Pv3d and away3d is a lot, a lot of better than pv3d, is amazing the difference between this two 3d class, and the performance class is a good a class to test the performance of your sites… i like it!
Jared,
Yes, this is possible and something like this is being done by a developer named Joa Ebert. He has lots of classes, tools, and utilities for post-compilation optimization of swfs, as well as some things involving inline bytecode optimizations and what not.
http://blog.joa-ebert.com/
Btw, doesn’t ASUnit also time all it’s tests? I feel like this is kind of redundant, unless you just -don’t- wanna use tests but still need benchmarks.
Great tutorial, thanks!
Hi guys,
I was looking at the documentation of the PerformanceTest class.
And the template of the documentation is the same one Flash is using.
So my question is:
Can I use the same template that adobe is using, for my documentation?
And if so, is there a tool to create this?
What are you using/shortcut are you typing to replace the pf with a function name?
Great tutorial, however the links seems to be broken?
I would really like to do the tutorial again, can this maybe be fixed?
Thanks in advance, and excuse my crappy english,
Wouter
hi lee,
Is the video still up? I get a 404 trying to load:
http://adobe.edgeboss.net/download/adobe/adobetv/gotoandlearn/pt.mov
looking forward to seeing the tut
Not tested the mov-file yet but the flash vid for this one doesn’t seem to work :\
Hi Lee! Could you please fix the broken link for the video file: http://adobe.edgeboss.net/download/adobe/adobetv/gotoandlearn/pt.mov ? Looking forward to see your tutorial!
/Martin
Where is the video? =\
i realy want to see it..
cya
The video is fixed now. Sorry about that.
Very nice, but i think it is need to more precise in terms of performance