PDA

View Full Version : Guidelines for Max Stage Objects, Sprite Size, etc.?


Sleeve
05-06-2008, 09:00 PM
I am wondering if there are any benchmarks for VM2 performance that have established what the maximum recommended number of DisplayObjects visible at any one time is, max Sprite size, etc. Also, maybe some data on component performance as well, e.g. max items in a List or DataGrid.

I understand that performance depends on the users machine but there has to be some benchmarks run for varying machine speeds somewhere.

Have any of you run across something like this?

Bombdogs
05-07-2008, 12:03 AM
I've run across benchmarks for different variable types, iterative loops, blitting routines etc. - pretty much exclusively on gaming sites. 8bitrocket would be one of them, but googling "as3 performance benchmark" would lead to more I'm sure.

I don't really know too much about DataGrids or Lists, but for displayObjects the big bottleneck by far is the renderer and therefore performance is mostly about keeping the amount of redraw down. Lots of little moving sprites that end up redrawing a quarter of the screen each frame will be faster than a few moving sprites that redraw most of the screen each frame.

PMF