Re: sqlite question
Re: sqlite question
- Subject: Re: sqlite question
- From: Shane Stanley <email@hidden>
- Date: Sun, 19 Apr 2015 22:23:30 +1000
On 19 Apr 2015, at 9:37 pm, Jim Weisbin <email@hidden> wrote:
I can’t time the whole script because it stops for user input.
If you want to time sections of a script, you can do it by putting this at the start:
use framework "Foundation" set theNSDate to current application's NSDate's |date|()
Then at any point include this:
current application's NSLog("this point %f", -(theNSDate's timeIntervalSinceNow()))
The times will then appear in Console.app., and it works when run as an applet.
But I’m not sure how I could speed this up:
First step is to try to isolate exactly where the time is being spent.
|
_______________________________________________
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