Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Oiling my tablet
Message
From
01/05/2013 05:53:00
 
 
General information
Forum:
Javascript
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01572116
Message ID:
01572362
Views:
57
>>
>>Come to think of it
>>
>>> I'm currently recalculating the average every time a new orientation event comes in
>>
>>Isn't that a bit of an overkill - if you have to display it every second (or 5 seconds) ?
>
>Just profiled the CPU usage on the Nexus. The whole averaging display cycle is only using about 2.5% of processing time - so I guess it's not likely to be a problem :-}

2.5% is not bad - not bad at all. And if you are happy with it
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform