I've run tests with a project of mine called flXHR, where I ended up embedding 32 or even 64 instances of flash (in this case, all of them invisible .SWF's) on a page... I've done this in several windows browsers, like IE7, Google Chrome, and FF. What I was seeing with that many instances was still acceptable performance for what they did, but the memory usage was a bit high... I think it was in the range of 150-200mb for that many flash instances. Of course, there's the caveat that things might be a little less performant with that many flash instances that also had to do re-draw events for display purposes, but I would think the memory usage wouldn't be that much different (unless you have really heavy graphics).
One thought I might suggest... not sure how possible this might be... but if you have lots of small swf's that are going to load on a page, and maybe they happen to be in close proximity (like a bunch of tabs, for instance), you might consider a more exotic approach where you load a single swf on the page, positioned in the right spot, and then have it load and position all the child swf's. If your page structure allows it, you could have this parent swf loaded "behind" the rest of your HTML/images content (that content overlaid on the flash). What this might buy you is that you would cut down on the number of instances of flash that actually have to be embedded on the page, which should cut down on performance and memory costs significantly. In fact, I'm considering something similar for a future version of flXHR, where it has one "loader" SWF that then loads a bunch of child swf instances in it, again all hidden, to cut down on the same issues. Just some thoughts. --Kyle -------------------------------------------------- From: "lowie" <[EMAIL PROTECTED]> Sent: Friday, October 17, 2008 3:49 AM To: "SWFObject" <[email protected]> Subject: performance studies > > Hi all, > > Many thanks for all the help in the past. I have another question :) > > I was wondering if anyone has done any performance testing & > optimisation with lots of embedded flash objects. We've launched a > site (http://bandit.fm/urbanation) and there are a considerable amount > of flash files embedded for tab headings (sifr style), widgets, ad > panels etc. Does anyone have any advice on how these might be best > managed memory and cpu wise, or if there is a "you really shouldn't be > doing that" limit? > > Thanks in advance, your biggest fan, > Chris > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
