I am developing a Cocoa application which communicates constantly with a web service to get up-to-date data. This considerably reduces the performance of the application. The calls are made to the web service asynchronously but the number of calls is huge.
In what ways can I improve the performance of the application? Is there a good document/write up available which gives the best practices to be followed when an a Cocoa application communicates with a web service?
Thanks
Yes! Apple actually has some very concise guides on performance that cover a lot of tricks and techniques, I’m sure you’ll find something relevant to your own application. There may be some additional guides specific to 10.5 I haven’t seen yet, but here are three I’ve found useful in the past.
The most important thing to take away though, is that you need to use performance tools to see exactly where the bottleneck is occurring. Sometimes it may be in the place you least expect it.