Dumb question... where's the appropriate place to send the bug reports?

Mike

On Fri, Dec 5, 2008 at 5:27 PM, Andrew Stadler <[EMAIL PROTECTED]> wrote:
>
> On Fri, Dec 5, 2008 at 8:40 AM,  <[EMAIL PROTECTED]> wrote:
>
>> So I finally figured out what was going on. It had nothing to do with
>> HTTP posts,
>> thankfully. What it did have to do with was Formatter (or String.format). An
>> innocuous foreground loop using Formatter was taking 10 seconds for about
>> 10kb worth of data. The same loop using string concats (ie, this+""+that) 
>> takes
>> 100ms. What on earth is Formatter doing that takes 2 orders of magnitude
>> more time? Something's really out of whack.
>
>> Interesting tidbit2: per Mark's suggestion, I implemented the HTTP post using
>> both HttpURLConnection and DefaultHttpClient mechanisms. The 
>> DefaultHttpClient
>> method was about 5-10x *slower* than HttpURLConnection for identical data. 
>> Not
>> sure why that is... maybe using stringsBuffers to collect the post
>> data instead of file io is a lose.
>>
>
>
> For both of these, it would be *fantastic* if you could create a small
> but working test code snippet, and collect timing, and file the whole
> thing in bug reports.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to