• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Speed issue with eppc://
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Speed issue with eppc://


  • Subject: Speed issue with eppc://
  • From: Bert Groeneveld <email@hidden>
  • Date: Sun, 19 Jul 2009 11:55:50 +0200

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

  • Follow-Ups:
    • Re: Speed issue with eppc://
      • From: Emmanuel LEVY <email@hidden>
  • Prev by Date: QuicKeys and script activation
  • Next by Date: Re: Speed issue with eppc://
  • Previous by thread: Re: QuicKeys and script activation
  • Next by thread: Re: Speed issue with eppc://
  • Index(es):
    • Date
    • Thread