• 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
Re: Speed issue with eppc://
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Speed issue with eppc://


  • Subject: Re: Speed issue with eppc://
  • From: Emmanuel LEVY <email@hidden>
  • Date: Sun, 19 Jul 2009 23:55:20 +0200

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>)

  • Prev by Date: Re: Speed issue with eppc://
  • Next by Date: Re: Include Scripts?
  • Previous by thread: Re: Speed issue with eppc://
  • Next by thread: Include Scripts?
  • Index(es):
    • Date
    • Thread