RE: Why are compiled scripts slower than from Script Editor?
RE: Why are compiled scripts slower than from Script Editor?
- Subject: RE: Why are compiled scripts slower than from Script Editor?
- From: Emmanuel <email@hidden>
- Date: Sun, 2 Feb 2003 10:43:50 +0100
At 3:49 PM -0800 01/02/03, Patrick S. Page-McCaw wrote:
Seems my first post was garbled by the server. The +/- character was
replaced by the number 1. The correct times are:
554 msec +/- 53 msec run from a double-clickable application
(note that this is the repeat time, and it does not include the
substantial lag from the last click to the beginning of the run)
501 msec +/- 1.6msec [1] run from within SMILE, Script Editor gives
essentially
the same result.
Somehow, running your script is the first thing your applet does
after it was launched.
In my opinion, you should check what timings you get if you run your
script as the first thing Script Editor does once launched. With
Smile, you can't really have your script run as the first thing:
Smile executes many scripts while initializing, so once launched it
has already allocated - and have AppleScript allocate - plenty
resources, and it's more ready than an applet to have your script run.
My use of the st dev (for the +/-) above is not well justified, but
it gives a rough idea of the problem, and I didnt think I would be
facing peer review ; ).
Bad guess - YOU ARE !!! :-)
Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.