[jsword-devel] Downloads very slow with latest JSword code
Martin Denham
mjdenham at gmail.com
Wed Jan 19 14:15:45 MST 2011
Okay, I am sure now.
- I reverted to my slow code (latest JSword)
- rebuilt And Bible
- download of esv took 4 minutes
- changed to .level=SEVERE from FINEST in
jsword/src/main/resources/CWLogging.properties
- rebuilt And Bible
- download or esv takes 30 secs
I am wondering how other apps handle JSword logging config files. JSword
logging has never really worked for me on Android (possibly because I don't
configure it correctly) so I normally just add printlns if I need some info
from JSword. Android has it's own logging architecture that I rely on
heavily.
Martin
On 19 January 2011 20:53, DM Smith <dmsmith at crosswire.org> wrote:
> On 01/19/2011 03:50 PM, Martin Denham wrote:
>
> But I can't understand why that has suddenly started causing problems
> because it doesn't look like it has changed.
>
>
> Now I have the tune from Twilight Zone going through my head.
>
>
>
> On 19 January 2011 20:46, Martin Denham <mjdenham at gmail.com> wrote:
>
>> Got it! In jsword/src/main/resources/CWLogging.properties has
>> .level=FINEST
>>
>> I'll test it a bit more thoroughly and raise a Jira.
>>
>>
>> On 19 January 2011 20:33, DM Smith <dmsmith at crosswire.org> wrote:
>>
>>> On 01/19/2011 03:22 PM, Martin Denham wrote:
>>>
>>> Have there been any changes in the area of Logging connection data
>>> transfer information. I can see a lot of jdk logging possibly related to a
>>> org.apache.http.impl.conn.LoggingSessionInputBuffer but I could be barking
>>> up the wrong tree.
>>>
>>>
>>> Not that I'm aware of. I wonder if it is related to the explicit buffer
>>> size change???
>>>
>>>
>>>
>>> On 19 January 2011 20:00, DM Smith <dmsmith at crosswire.org> wrote:
>>>
>>>> On 01/19/2011 02:32 PM, Martin Denham wrote:
>>>>
>>>>> I just updated to the tip of Jsword and file downloads have slowed down
>>>>> by a factor of about 10. When this happened before it was related to the
>>>>> Progress monitor but it isn't that problem this time.
>>>>>
>>>>> I am not sure where else to look. Has anybody got any suggestions? It
>>>>> is pretty difficult to downgrade file by file because of changes in the
>>>>> interfaces.
>>>>>
>>>>> The fast version is after the upgrade to jdk 5 libraries but before the
>>>>> jdk 5 code changes. Most of the files are dated 30/11/2010 at 22:31 but it
>>>>> looks like I had to get some patches because the header of WebResource has:
>>>>> WebResource.java 2039 2010-12-04 13:53:31
>>>>>
>>>>> Thanks
>>>>> Martin
>>>>>
>>>>
>>>> I haven't seen it be slower, but I'll look into it. I'm assuming that
>>>> I only need to look at the download code? I'm wondering if it has to do with
>>>> the "enhanced for loops".
>>>>
>>>> In Him,
>>>>
>>>
>
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20110119/f5bb525d/attachment.html>
More information about the jsword-devel
mailing list