Deals | News | Forums

The Forum is sponsored by 
 

AAPL stock: $258.11 ( -2.85 )

You are currently viewing the Tips and Deals forum
Why is Applescript so CPU intensive?
Posted by: freeradical
Date: November 06, 2009 08:59PM
I used the trim file names script in the Applescript menu to batch trim about 1500 file names. This process took a few minutes, and according to activity monitor, this caused the finder to use over 90% of the CPU clock cycles.
Options:  Reply • Quote
Re: Why is Applescript so CPU intensive?
Posted by: cbelt3
Date: November 06, 2009 09:20PM
Without any detailed knowledge whatsoever, I would opine that it's an interpreted rather than a compiled language, and it's pretty old timey too. in other words, inefficient.
Options:  Reply • Quote
Re: Why is Applescript so CPU intensive?
Posted by: Marc Anthony
Date: November 06, 2009 09:30PM
It could be something specific to your machine, but it's likely that that particular script just isn't optimized for speed; it uses Finder, which is something of a mess.



Le poète doit vivre beaucoup, vivre dans tous les sens. - Verlaine



Edited 1 time(s). Last edit at 11/06/2009 09:36PM by Marc Anthony.
Options:  Reply • Quote
Sorry, only registered users may post in this forum.

Click here to login