I would like to know whether passing multiple parameters while consuming webservice for an iPad application will have any impact in performance. I mean, will it take more time when the request and response have more number of parameters?. I have few less important parameters in webservice methods. I'm not sure whether to remove them or not. please guide me..
2
-
two key metrics here: 1) number of bytes - not number of params - will be a factor in request time, 2) how good of a contributor you are to SO will be a factor in how much effort others expend on your behalf.danh– danh2012-12-23 17:48:56 +00:00Commented Dec 23, 2012 at 17:48
-
Thanks for the reply. Yes the no of parameter seems to have no impact in performance. We added few more parameters later and the time taken request and response does not change. Thanks once again.user1531912– user15319122013-02-03 12:17:26 +00:00Commented Feb 3, 2013 at 12:17
Add a comment
|
1 Answer
What matters is not the number of parameters it's the size of the payload. One can have a Web service method with only one parameter and have a payload ranging from a few bytes to ten, hundreds or mega bytes and this is what affects performances.
1 Comment
user1531912
Thanks for the reply. Yes the no of parameter seems to have no impact in performance. We added few more parameters later and the time taken request and response does not change. Thanks once again.