• 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
URLOpen performance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

URLOpen performance


  • Subject: URLOpen performance
  • From: "Pietrzak, Bryan" <email@hidden>
  • Date: Mon, 19 Aug 2002 07:41:46 -0600

URLOpen() is causing me a bit of a headache. On both 9 and 10.1.5.

In my test case, I have 23 smallish (most less than 10K) files to download.
All from the same server. On a 56K modem connection, the function that calls
URLOpen() ends up using about 76% of the entire time as measured with a
profiler. If I just call URLOpen() 23 times, the user interface is very
non-responsive (even under X).

The same download via cable modem is quite fast and virtually no impact to
the user interface.


If I setup a timer and call URLOpen() once every other second, then the user
interface remains responsive. (But of course, the download now takes 46
seconds :)

I thought URLOpen() would be asynchronous? I expected all the time to be
spent in my timer that calls URLIdle().

Is there any way I can speed up URLOpen or do I need to look at abandoning
URLAccess?

Bryan
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Is enet DLPI compatible ??
  • Next by Date: PPP
  • Previous by thread: Re: Is enet DLPI compatible ??
  • Next by thread: PPP
  • Index(es):
    • Date
    • Thread