• 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: A question on technique
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A question on technique


  • Subject: Re: A question on technique
  • From: Thomas Fischer <email@hidden>
  • Date: Wed, 18 Mar 2015 06:28:17 +0100

Hi Emmanuel,

Am 18.03.2015 um 00:06 schrieb Emmanuel LEVY <email@hidden>:

> Hi,
>
> Maybe interesting, the plist method is faster than any on my machine.
>
> (Not a surprise for me, plists were designed exactly for that kind of job).

strange, I can't confirm this.
First, I haven't the "chrono" command, where does that come from? I changed it to LapTimer again, this might make a difference.
Second, the difference between Script Editor and  Applet is quite significant again (100 rounds and millisecs.):

Script Editor:
Satimage/regex: 6.977
TIDs: 5.617
Axel's loop: 86.192
Davey's offset: 14.450
Plist: 192.774

Satimage/regex: 6.587
TIDs: 5.510
Axel's loop: 82.988
Davey's offset: 10.653
Plist: 114.429

Applet:
Satimage/regex: 19.242
TIDs: 5.951
Axel's loop: 76.330
Davey's offset: 40.320
Plist: 18.593

Satimage/regex: 24.926
TIDs: 5.915
Axel's loop: 77.206
Davey's offset: 20.611
Plist: 17.152

The Plist is considerably faster with the applet, and the variation with the Script Editor is large!
Probably this is related to the machine as well, I'm using a MacBookPro9,2  (2,5 GHz Intel Core i5).

Best
Thomas

> Thanks to Thomas it took a pair of seconds to me to write the test, here are the results I got for 10000 iterations, and the script is below, I just brought small changes to Thomas' script.
>
> Best,
> Emmanuel
>
> Results:
> Satimage/regex: 1.064
> TIDs: 0.862
> Axel's loop: 18.852
> Davey's offset: 1.233
> Plist: 0.438
>
> ---------------


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


References: 
 >A question on technique (From: Gil Dawson <email@hidden>)
 >Re: A question on technique (From: Deivy Petrescu <email@hidden>)
 >Re: A question on technique (From: Deivy Petrescu <email@hidden>)
 >Re: A question on technique (From: "Stockly, Ed" <email@hidden>)
 >Re: A question on technique (From: "Stockly, Ed" <email@hidden>)
 >Re: A question on technique (From: Thomas Fischer <email@hidden>)
 >Re: A question on technique (From: Shane Stanley <email@hidden>)
 >Re: A question on technique (From: Thomas Fischer <email@hidden>)
 >Re: A question on technique (From: Emmanuel LEVY <email@hidden>)

  • Prev by Date: Timeout Not Working As Expected
  • Next by Date: Re: A question on technique
  • Previous by thread: Re: A question on technique
  • Next by thread: Re: A question on technique
  • Index(es):
    • Date
    • Thread