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