Hi,
currently I am working on an App which uses Long Polling to update text in real time. I know, in many cases it's better to use WebSockets, however this discussion shouldn't be the topic of this thread.
Here is my problem: In release mode the performance of the web requests is significant lower than in debug mode.
I have created a small demo project which interacts with a WebApp and demonstrates the issue (I feel uncomfortable to publish it for everybody as it contains some backend information, so please write here or send me a PM). I have tested it on a real device (iPhone 5s) and made the following obversations: If I write text slowly at the WebApp, the text is exchanged nearly in real time. But at some point in release mode, the requests seem to "get stuck" and no data is received anymore.
In which way code is executed differently in debug mode? I already have tried to run the requests in a background thread, but no success ...
Any help?
Jan
currently I am working on an App which uses Long Polling to update text in real time. I know, in many cases it's better to use WebSockets, however this discussion shouldn't be the topic of this thread.
Here is my problem: In release mode the performance of the web requests is significant lower than in debug mode.
I have created a small demo project which interacts with a WebApp and demonstrates the issue (I feel uncomfortable to publish it for everybody as it contains some backend information, so please write here or send me a PM). I have tested it on a real device (iPhone 5s) and made the following obversations: If I write text slowly at the WebApp, the text is exchanged nearly in real time. But at some point in release mode, the requests seem to "get stuck" and no data is received anymore.
In which way code is executed differently in debug mode? I already have tried to run the requests in a background thread, but no success ...
Any help?
Jan