Re: 300% speed discrepancy
Re: 300% speed discrepancy
- Subject: Re: 300% speed discrepancy
- From: christian vick <email@hidden>
- Date: Tue, 07 Oct 2003 14:00:23 +0200
>
THE SYMPTOMS
>
I've completed a long script (too long for Script Editor) in Script
>
Debugger 3.0.6 (OS 10.2.6) on a Dual 1 GHz G4. The script builds charts
>
in Adobe Illustrator 10.0.3.
>
>
Script run in Script Debugger (either AppleScript or AppleScript
>
Debugger):
>
chart builds time: @4-5 seconds
>
>
Script saved as Application and run as stand alone app
>
chart build time: @12-15 seconds
>
>
The slowdown is across the board - building every little piece of the
>
chart is 3x slower. (in other words - it's not hanging up on one item)
>
>
WHAT I'VE TRIED
>
I've tried most of the Script Debugger save-as-application options with
>
no difference in symptoms. I've monitored the CPU utilization and my
>
script + Debugger definitely utilizes the CPU much more than the script
>
as a stand-alone app. I've tried activating and not activating
>
Illustrator, the Finder, etc., with no change in symptoms.
>
>
Someone must have run into this problem before. Let me know if there's
>
some info that would be helpful in troubleshooting this issue.
Script applets in OS X do act like in OS 9. If you bring them to front, they
run faster. This is notable when the script works with another application.
Example: A script which works with Filemaker. Front application is:
- Script = fasted speed
- Finder = medium speed
- Filemaker = lowest speed
If you put your code into a Studio application you get a huge speed increase
(50-400%). And then it doesn't matter if the (Studio) app is front or not.
There's room for improvement regarding cpu utilization of AS applets in OS
X.
Greetings
Christian
_______________________________________________
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.