Bug 257308 - performance problem: Kontact mobile needs too long to display the new mails of a subfolder.
Summary: performance problem: Kontact mobile needs too long to display the new mails o...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: KMail Mobile
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Maemo 5 Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-19 11:33 UTC by Ludwig Reiter
Modified: 2016-09-29 07:52 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ludwig Reiter 2010-11-19 11:33:25 UTC
Version:           unspecified (using Devel) 
OS:                Linux

version: kdepim-mobile 20101118.1198236-1maemo1.1198084

displaying the mails of a subfolder with about 770 mails need a long time (~30 secs)

Reproducible: Always

Steps to Reproduce:
Req: Have a subfolder with 780 old and a new mail.
1. Select the inbox
2. Select the subfolder 


Actual Results:  
After about 30 s the new mail appears 

Expected Results:  
Shouldn't need that long. (MAX 2 s)
Comment 1 Ludwig Reiter 2010-11-19 11:52:20 UTC
Other test with about 2100 old mails shows that it needs 70 s to display the new mail the second time it is looked at. (The first time it needs about 5 mins or so.)
Comment 2 Tobias Koenig 2011-01-04 06:46:53 UTC
Hej,

I committed a couple of performance patches yesterday, can you retest with a current version, please?

Ciao,
Tobias
Comment 3 Bjoern Ricks 2011-01-17 15:59:57 UTC
On maemo it took ~10-15 sec until a folder with 1000 mails was displayed. On Wince it took ~10 times longer to synchronize it.
Comment 4 Bernhard E. Reiter 2011-01-19 11:54:00 UTC
Ludwig, Björn, can you comment on how long it takes to display (not sync)
a new email on CE. which I would think is the time it takes until I can see the new email that already is in the folder.

Is there s difference in INBOX and a subfolder as the title suggests?
Comment 5 Bjoern Ricks 2011-01-19 12:08:26 UTC
Bernhard for a simple pain/text mail it took ~5sec until it was displayed completely. My last test to sync a big folder were without the sqlite improvements from Sascha and Andre. Retesting is on my list of todos.
Comment 6 Bernhard E. Reiter 2011-01-19 14:27:47 UTC
Björn, where the 5 seconds on ce in a folder with many emails?
Comment 7 Bjoern Ricks 2011-01-19 15:53:41 UTC
Syncing a folder with 1000 new mails is much faster now. It took less then 10s until the first mails were shown in the folder list.
Comment 8 Bjoern Ricks 2011-01-19 15:57:41 UTC
Bernhard I did restest opening a simple pain/text message in a 1000 mail folder and it got the same result as before when opening a mail in my inbox with ~150 mails.
Comment 9 Bernhard E. Reiter 2011-01-20 14:50:16 UTC
Needs a test for email, contact and calendars now.
Comment 10 Ludwig Reiter 2011-01-20 15:15:57 UTC
Mail Touch (Windows CE) 2011-01-16

Test of the description with old 1000 mails and a new mail.
Needs 30-40 s for displaying the new mail.

So still reproducable.
Reopened
Comment 11 Andre Heinecke 2011-02-24 15:26:00 UTC
Since there is no immediate solution priority moved down to normal.