Some good points Robin. I'd like to try automate the process as much as I
can but will keep that in mind - it may be a better solution.
Your timer would work for CPU speed, but I think I'd have to combine it with
some rendering of some kind to test the capabilities of the graphics card
also. eg. I have a fast computer at work with lots of ram that processes
things like thing quicker than my PC at home, but has an old graphics card
and is much slower at rendering.
On 5/25/06, Robin Burrer <[EMAIL PROTECTED]> wrote:
Hey Mick,
Maybe it is better to give the user the option to select the processor
speed rather than detecting it automatically. (that would be similar to
picking your connection speed for a QuickTime movie). Some users may
want to see all the effects even though they have a slow computer.
If you want to determine the performance you could just measure the time
it takes to perform some task.
e.g.
var t1:Number = getTimer();
for (var i = 0 ; i < 100000; i ++)
{
}
var t2:Number = getTimer();
var timeToDoThis = (t2 -t1);
trace (timeToDoThis)
Don't know how accurate this is though :-)
Robin
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mick G
Sent: Thursday, 25 May 2006 9:27 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Test CPU/performance/rendering
I'm building a fairly demanding site that has a fair bit of animation
and
rather than aiming for an average performance level of animation for my
users, I'd like to turn off/on some features of the site depending on
rendering capabilities of the users computer.
Does anyone have any recommendations on the best way to achieve this?
Off
the top of my head I guess finding out the highest FPS the current
viewer
can achieve and flagging them as "high" or "low" performance depending
on
the results. Any other suggestions?
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com