very very very good idea to do that via a quick benchmark.
can you do that in a more efficient and non blocking way? something that
takes around half a second. like a single SQRT or so.




On Tue, Jul 28, 2009 at 9:45 AM, Max Melcher <[email protected]>wrote:

> my buddies 3gs:
> counter: 95856 itsA3GS: true navigator.platform: iPhone
>
> but the counter is ~3 times higher...
>
> 2009/7/28 Jorge Chamorro <[email protected]>
>
>>
>>
>> On 28/07/2009, at 13:44, Max Melcher wrote:
>>
>> > my iphone 3g reached 35964 at first load and then between 37000 and
>> > 38000 :)
>> > Its quite a dirty test, but nice idea - if you have other javascript
>> > running it could intercept it or even disable it - so be careful!
>> >
>> > i think dom storage works on all 3 platforms - so thats a no go.
>>
>> I've been looking at the global properties with:
>>
>> http://jorgechamorro.com/cljs/072/
>>
>> And found that window.navigator.platform gives "iPhone Simulator" in
>> the simulator and "iPhone" in a 2G. Maybe we're lucky and it gives
>> "iPhone 3GS" in a 3GS ?
>>
>> I've added a document.write(window.navigator.platform); to :
>>
>> http://jorgechamorro.com/cljs/075/
>>
>> Let's see what it gives... ?
>>
>> --
>> Jorge.
>>
>>
>>
>
> >
>


-- 
"Local color. Soak it up"
Virginia Vidaura

http://www.merkwelt.com/people/stan/

please overlook typos

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" 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/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to