Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Speed issue with eppc://
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Speed issue with eppc://



OK. And what if you return lists of strings - I assume you are returning lists of files, or lists of aliases?

Emmanuel


On Jul 19, 2009, at 9:39 PM, Bert Groeneveld wrote:

No difference.
Bert.

On 19 jul 2009, at 13:39, Emmanuel LEVY wrote:

What if you remove "my" in script 2?

Emmanuel

On Jul 19, 2009, at 11:55 AM, Bert Groeneveld wrote:

Hoi,

I am just wondering why script 2 takes a lot lot more execution time than script 1. Speed of the network is 1Gb.
Tips or suggestions are welcome.


Bert.

-- - - - - - - - - - - - Start script 1

set {list_A, list_B, list_C} to my Get_Names_of_files()

-->> Only 10 seconds execution time.

on Get_Names_of_files()
-- heavy talking to the Finder: building 3 lists with names of thousands of files of a mounted share of a Mac OSX.5 server (IP Address 192.168.10.21).
return {list_A, list_B, list_C}
end Get_Names_of_files


-- - - - - - - - - - - - End script 1



-- - - - - - - - - - - - Start script 2

tell application "my_Applescript" of machine "eppc://name:email@hidden "
set {list_A, list_B, list_C} to my Get_Names_of_files()
end tell


-->> Over 90 seconds execution time.

-- Stay open script "my_Applescript" on server 192.168.10.21 contains the same handler:
on Get_Names_of_files()
-- heavy talking to the Finder: building 3 lists with names of thousands of files of the (in this case local disk) of this Mac OSX.5 server.
return {list_A, list_B, list_C}
end Get_Names_of_files


-- - - - - - - - - - - - End script 2
_______________________________________________
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

_______________________________________________
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





_______________________________________________ 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: 
 >Speed issue with eppc:// (From: Bert Groeneveld <email@hidden>)
 >Re: Speed issue with eppc:// (From: Emmanuel LEVY <email@hidden>)
 >Re: Speed issue with eppc:// (From: Bert Groeneveld <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.