[Flashcoders] Profiling the clients CPU

2005-10-31 Thread Alias
Hi guys, I'm working on a project which involves reducing the amount of work done, based on the client's CPU speed. I'm wondering - does anyone have a tried tested method of doing this? I'm thinking something along the lines of: startTime = getTimer(); //do something timeconsuming - loop 100

Re: [Flashcoders] Profiling the clients CPU

2005-10-31 Thread Martin Wood
maybe it would be best to do the profiling using the code that is being performed, otherwise your results may be unreliable. i dont know if thats possible in your case, but you could start from the bottom and work up. run a few loops of the doSomethingEasy() and see how fast its running, if

AW: [Flashcoders] Profiling the clients CPU

2005-10-31 Thread Lars Heinrich
: [Flashcoders] Profiling the clients CPU Hi guys, I'm working on a project which involves reducing the amount of work done, based on the client's CPU speed. I'm wondering - does anyone have a tried tested method of doing this? I'm thinking something along the lines of: startTime = getTimer(); //do