Smart Keyboard Pro laggy on the Evo.

You can post your bug reports here. Please include at least the app version and your phone, and any useful information.
imekul
Posts: 38
Joined: Wed Mar 10, 2010 1:35 am
Phone: Sprint HTC Hero

Smart Keyboard Pro laggy on the Evo.

Post by imekul »

I have just noticed that Smart Keyboard Pro is much slower on my Evo than the stock keyboard is. It works okay, but it is slightly laggy, and seems to miss key presses now and then. The stock keyboard, on the other hand, is very fast, and does not seem to miss those presses.

Have any other Evo users noticed this? The default keyboard is more or less instantaneous, and there is just a slight (but noticeable) lag when typing quickly on SKP.
User avatar
cyril
Developer
Posts: 2079
Joined: Tue Feb 02, 2010 4:02 pm
Phone: Nexus One 2.3
Location: Nice, France

Re: Smart Keyboard Pro laggy on the Evo.

Post by cyril »

Can you check if you have a lot of lines like this in your phone logs (you can see them with Log Collector) ?

Code: Select all

06-12 16:37:47.951 D/dalvikvm( 6266): GC freed 37730 objects / 1422360 bytes in 241ms
Cyril
imekul
Posts: 38
Joined: Wed Mar 10, 2010 1:35 am
Phone: Sprint HTC Hero

Re: Smart Keyboard Pro laggy on the Evo.

Post by imekul »

I count 13 lines that say something like:

06-15 22:46:00.643 D/dalvikvm( 6254): GC freed 1789 objects / 270432 bytes in 60ms

I have about 1,000 lines total in the log file that Log Collector generated. Seems to range from 06-15 22:45:26.323 to 06-15 22:46:00.643.

Does that tell anything?
User avatar
cyril
Developer
Posts: 2079
Joined: Tue Feb 02, 2010 4:02 pm
Phone: Nexus One 2.3
Location: Nice, France

Re: Smart Keyboard Pro laggy on the Evo.

Post by cyril »

The important thing is the "in 60ms" part
It corresponds to a complete freeze of the phone, as it is the duration of the memory garbage collection process.
However maybe the "lags" you are talking about are not lags, and are linked to the multitouch issue discussed in the other topic
Cyril
imekul
Posts: 38
Joined: Wed Mar 10, 2010 1:35 am
Phone: Sprint HTC Hero

Re: Smart Keyboard Pro laggy on the Evo.

Post by imekul »

Hmm...

I know the stock keyboard on the Evo is lightning-fast. There is a definite difference between the two keyboards.

I wonder if something else could be causing SKP to lag. I do have a bunch of AutoText entries. Could several hundred of those perhaps slow it down? Or any other idea of what I could check/try?
User avatar
cyril
Developer
Posts: 2079
Joined: Tue Feb 02, 2010 4:02 pm
Phone: Nexus One 2.3
Location: Nice, France

Re: Smart Keyboard Pro laggy on the Evo.

Post by cyril »

Yes you can do a backup of your settings and send me your backup.zip so that I can investigate
Cyril
imekul
Posts: 38
Joined: Wed Mar 10, 2010 1:35 am
Phone: Sprint HTC Hero

Re: Smart Keyboard Pro laggy on the Evo.

Post by imekul »

Great. Just e-mailed it to you.

I'd be interested in hearing what you find!
User avatar
cyril
Developer
Posts: 2079
Joined: Tue Feb 02, 2010 4:02 pm
Phone: Nexus One 2.3
Location: Nice, France

Re: Smart Keyboard Pro laggy on the Evo.

Post by cyril »

Hello
I will investigate whether a big user dictionary can cause lags, but at least I can see you enabled debug logs, which is a real performance killer...
You should try again without them
Cyril
imekul
Posts: 38
Joined: Wed Mar 10, 2010 1:35 am
Phone: Sprint HTC Hero

Re: Smart Keyboard Pro laggy on the Evo.

Post by imekul »

I will try it without the debug logs enabled.

Any other tweaks that could improve performance? Disabling smart dictionary or anything like that?

Thanks for the help!
User avatar
cyril
Developer
Posts: 2079
Joined: Tue Feb 02, 2010 4:02 pm
Phone: Nexus One 2.3
Location: Nice, France

Re: Smart Keyboard Pro laggy on the Evo.

Post by cyril »

Yes disabling the smart dictionary will definitely help as well (I am working on improvements for it)
Cyril
Post Reply