Closed GoogleCodeExporter closed 9 years ago
Thanks for the patch.
Since the server is meant mainly as an aid for doing unittests, we haven't
really worried about its performance for
things like this, but I'll look at getting the improvements in. I also need to
finish up some unittests for it, so I'll
try to get some cycles for that soon.
Original comment by thoma...@gmail.com
on 17 Apr 2009 at 2:23
Not a problem! I understand the design goal behind this simple but nifty
utility. Interestingly, that's also how I
found the issue—a program that tests my client-side code's ability to send
large chunk of data ran extremely
slow, and turned out the test itself consumed huge amount of memory, and hence
the discovery.
Thanks for the good work!
Original comment by lukh...@gmail.com
on 17 Apr 2009 at 4:32
Forgot to ask, do you have an easy way to do up a test consuming a large amount
of data?
Original comment by thoma...@gmail.com
on 30 Apr 2009 at 2:07
fix landing shortly.
Original comment by thoma...@gmail.com
on 30 Apr 2009 at 12:56
Hi,
Please take a look at http://github.com/lukhnos/objectiveflickr/
Then use the Xcode project in
LFWebAPIKit/Tests/StreamedBodySendingTest/StreamedBodySendingTest.xcodeproj,
which can be built
independently. Then profile the memory usage by running the app and fire the
sample request. (Modify the
testButtonAction: in AppDelegate.m to make the request data larger). When the
size exceeds 2 MB, even
Activity Monitor can tell it's choking with too much temp objects.
Glad to know that the fixing is landing. Much appreciated!
Original comment by lukh...@gmail.com
on 30 Apr 2009 at 1:11
Original issue reported on code.google.com by
lukh...@gmail.com
on 14 Apr 2009 at 8:49Attachments: