• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: IOS floating point performance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IOS floating point performance


  • Subject: Re: IOS floating point performance
  • From: Greg Parker <email@hidden>
  • Date: Thu, 08 Aug 2013 13:20:21 -0700

On Aug 8, 2013, at 10:26 AM, David Rowland <email@hidden> wrote:
> One hundred times through this loop, on my iPhone 5, took about 0.0028 seconds. Two hundred times took about 0.0056 sec.

Those times are way too small to be reliable. You're down at the level where OS scheduler effects are significant.

Make the test longer, say between 1 and 10 seconds. That should give you more trustworthy numbers.

(Running the test too long is also counterproductive: the OS is likely to slow your process to save power or decrease heat.)


--
Greg Parker     email@hidden     Runtime Wrangler



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Re: IOS floating point performance (From: Trygve Inda <email@hidden>)
 >Re: IOS floating point performance (From: email@hidden)
 >Re: IOS floating point performance (From: Thomas Wetmore <email@hidden>)
 >Re: IOS floating point performance (From: Thomas Wetmore <email@hidden>)
 >Re: IOS floating point performance (From: Fritz Anderson <email@hidden>)
 >Re: IOS floating point performance (From: Thomas Wetmore <email@hidden>)
 >Re: IOS floating point performance (From: David Rowland <email@hidden>)

  • Prev by Date: Re: IOS floating point performance
  • Next by Date: Re: IOS floating point performance
  • Previous by thread: Re: IOS floating point performance
  • Next by thread: Re: IOS floating point performance
  • Index(es):
    • Date
    • Thread