URLOpen performance
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.