Thread: Re: [Logicmail-users] Performance improvements and caution (build 203)
Brought to you by:
octorian
From: Derek K. <dko...@lo...> - 2010-08-21 22:52:15
|
I just fixed it, so download 204 :-) I found the same bug about a half-hour ago. These things always crop up on your first real test after you've shut down development for the day ;-) On 8/21/2010 5:06 PM, John Scarfone wrote: > Hi > 203 is a lot faster, but I have two read messages, which aren't > downloaded into LM. All my previous messages were download and in LM > from 202. I'm using imap. Any idea's? > > Thanks, > John > > ---- On Sat, 21 Aug 2010 16:06:38 -0400 Derek Konigsberg wrote ---- > > > Build 203 should be available shortly. This is probably the biggest > change I've committed at once in quite a long time. So if it blows up > in your face (which it very well may), feel free to drop back to build > 202. (just let me know in useful detail so I can debug it) > > From the user-perspective, you'll notice two things: > 1) Freshly opening a mail folder (at least /w IMAP) may be twice as > fast, or more. > 2) Saving larger attachments (/w IMAP) should actually work now. > > Of course, to do this, I had to do three things that could cause LM to > blow up in your face, if there are lurking bugs :-) > 1) Changed how data gets from the network connection to the rest of > the application > (keeping data as a byte[] as long as possible, only making Strings > when necessary, and a few other things) > 2) Completely rewrote the core piece of the IMAP parser > (the old code was slow and ugly, the new code is simple and fast) > 3) Made saving messages to the SDCard happen on a separate thread from > downloading/displaying them > > In doing all of this, I was also able to remove a lot of hacks and > workaround that were necessary with the old and crusty low-level code. > > So hopefully everyone will be happy in the long run. Just be > forewarned :-) > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > > > _______________________________________________ > Logicmail-users mailing list > Log...@li... > https://lists.sourceforge.net/lists/listinfo/logicmail-users -- ---------------------------- Derek Konigsberg dko...@lo... ---------------------------- |
From: Charles B. <cc...@ac...> - 2010-08-22 02:20:38
|
Hey All - Just pulled 204 and reconfigured to POP from earthlink's POP servers. No joy. Eventually I get a connection timeout on both POP get and SMTP port 587 send. This was working on 1.1 Bold 9700 v5.0.0.602 Anything else I can get you? ccb On Sat, 2010-08-21 at 18:51 -0400, Derek Konigsberg wrote: > I just fixed it, so download 204 :-) > > I found the same bug about a half-hour ago. These things always crop > up on your first real test after you've shut down development for the > day ;-) > > On 8/21/2010 5:06 PM, John Scarfone wrote: > > Hi > > 203 is a lot faster, but I have two read messages, which aren't > > downloaded into LM. All my previous messages were download and in LM > > from 202. I'm using imap. Any idea's? > > > > Thanks, > > John > > > > ---- On Sat, 21 Aug 2010 16:06:38 -0400 Derek Konigsberg wrote ---- > > > > > > Build 203 should be available shortly. This is probably the > > biggest change I've committed at once in quite a long time. So if > > it blows up in your face (which it very well may), feel free to drop > > back to build 202. (just let me know in useful detail so I can > > debug it) > > > > From the user-perspective, you'll notice two things: > > 1) Freshly opening a mail folder (at least /w IMAP) may be twice as > > fast, or more. > > 2) Saving larger attachments (/w IMAP) should actually work now. > > > > Of course, to do this, I had to do three things that could cause LM > > to blow up in your face, if there are lurking bugs :-) > > 1) Changed how data gets from the network connection to the rest of > > the application > > (keeping data as a byte[] as long as possible, only making Strings > > when necessary, and a few other things) > > 2) Completely rewrote the core piece of the IMAP parser > > (the old code was slow and ugly, the new code is simple and fast) > > 3) Made saving messages to the SDCard happen on a separate thread > > from downloading/displaying them > > > > In doing all of this, I was also able to remove a lot of hacks and > > workaround that were necessary with the old and crusty low-level > > code. > > > > So hopefully everyone will be happy in the long run. Just be > > forewarned :-) > > > > > > ------------------------------------------------------------------------------ > > This SF.net email is sponsored by > > > > Make an app they can't live without > > Enter the BlackBerry Developer Challenge > > http://p.sf.net/sfu/RIM-dev2dev > > > > _______________________________________________ > > Logicmail-users mailing list > > Log...@li... > > https://lists.sourceforge.net/lists/listinfo/logicmail-users > > > -- > ---------------------------- > Derek Konigsberg > dko...@lo... > ---------------------------- > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ Logicmail-users mailing list Log...@li... https://lists.sourceforge.net/lists/listinfo/logicmail-users |
From: Derek K. <dko...@lo...> - 2010-08-22 02:44:06
|
My first course of action would be to log the actual network connection to the device's event logger: https://www.logicprobe.org/proj/logicmail/wiki/debugging (P.S. There are about half a million posts between the mailing lists, forums, etc, all mentioning things relating to that... Including one about various logger items you can use to see what the BB itself is doing to open the connection.) Then, actually read the log messages. (they're not a pile of binary gobbledegook, even though many users want to treat them like that) If the problem is in actually opening the connection, the "net.rim.tcp" (I think) loggers could help. But generally, the basic "open a connection" is the most common (and hardest for me to be able to help with) of all BB issues. If the problem is during the login process itself, the network connection logs (as mentioned above) should help in debugging it. -Derek On 08/21/2010 10:20 PM, Charles Bennett wrote: > Hey All - > > > Just pulled 204 and reconfigured to POP from earthlink's POP servers. > > No joy. Eventually I get a connection timeout on both POP get and SMTP > port 587 send. This was working on 1.1 > > Bold 9700 v5.0.0.602 > > Anything else I can get you? > > > ccb > > On Sat, 2010-08-21 at 18:51 -0400, Derek Konigsberg wrote: >> I just fixed it, so download 204 :-) >> >> I found the same bug about a half-hour ago. These things always crop >> up on your first real test after you've shut down development for the >> day ;-) >> >> On 8/21/2010 5:06 PM, John Scarfone wrote: >>> Hi >>> 203 is a lot faster, but I have two read messages, which aren't >>> downloaded into LM. All my previous messages were download and in LM >>> from 202. I'm using imap. Any idea's? >>> >>> Thanks, >>> John >>> >>> ---- On Sat, 21 Aug 2010 16:06:38 -0400 Derek Konigsberg wrote ---- >>> >>> >>> Build 203 should be available shortly. This is probably the >>> biggest change I've committed at once in quite a long time. So if >>> it blows up in your face (which it very well may), feel free to drop >>> back to build 202. (just let me know in useful detail so I can >>> debug it) >>> >>> From the user-perspective, you'll notice two things: >>> 1) Freshly opening a mail folder (at least /w IMAP) may be twice as >>> fast, or more. >>> 2) Saving larger attachments (/w IMAP) should actually work now. >>> >>> Of course, to do this, I had to do three things that could cause LM >>> to blow up in your face, if there are lurking bugs :-) >>> 1) Changed how data gets from the network connection to the rest of >>> the application >>> (keeping data as a byte[] as long as possible, only making Strings >>> when necessary, and a few other things) >>> 2) Completely rewrote the core piece of the IMAP parser >>> (the old code was slow and ugly, the new code is simple and fast) >>> 3) Made saving messages to the SDCard happen on a separate thread >>> from downloading/displaying them >>> >>> In doing all of this, I was also able to remove a lot of hacks and >>> workaround that were necessary with the old and crusty low-level >>> code. >>> >>> So hopefully everyone will be happy in the long run. Just be >>> forewarned :-) >>> >>> >>> ------------------------------------------------------------------------------ >>> This SF.net email is sponsored by >>> >>> Make an app they can't live without >>> Enter the BlackBerry Developer Challenge >>> http://p.sf.net/sfu/RIM-dev2dev >>> >>> _______________________________________________ >>> Logicmail-users mailing list >>> Log...@li... >>> https://lists.sourceforge.net/lists/listinfo/logicmail-users >> >> -- >> ---------------------------- >> Derek Konigsberg >> dko...@lo... >> ---------------------------- >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by >> >> Make an app they can't live without >> Enter the BlackBerry Developer Challenge >> http://p.sf.net/sfu/RIM-dev2dev >> _______________________________________________ Logicmail-users mailing list Log...@li... https://lists.sourceforge.net/lists/listinfo/logicmail-users > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Logicmail-users mailing list > Log...@li... > https://lists.sourceforge.net/lists/listinfo/logicmail-users -- ---------------------------- Derek Konigsberg dko...@lo... ---------------------------- |