Closed Bug 1141034 Opened 9 years ago Closed 9 years ago

Autocomplete of addresses is slow

Categories

(Thunderbird :: Message Compose Window, defect)

31 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1012397

People

(Reporter: christian.moling, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0
Build ID: 20150305021524

Steps to reproduce:

Since the version 30.x the autocomplete of email-addresses is very slow. I know, now the lookup works different. But now, when I type a part of an address, i must wait the results and cannot confirm with ENTER immediatly.


Actual results:

for example, I enter
Paul + ENTER
no email-address appears


Expected results:

Paul + Enter
the most used email-address appears: paul.test@test.it
Priority: -- → P3
(priority is for developers)
What is the full number of the version are you using now?
Component: Address Book → Message Compose Window
Flags: needinfo?(christian.moling)
Priority: P3 → --
Now I use the version 31.5.0.
Flags: needinfo?(christian.moling)
(In reply to Christian Moling from comment #0)
> Actual results:
> 
> for example, I enter
> Paul + ENTER
> no email-address appears

What do you mean that no address appears? Even after you wait for a long time?
I'm waiting for 1 seconde. I know, it's not so much, but with olter Thunnderibrd-versions I wrote a part of the email-address, confirmend with ENTER immediatly and the email-address appears.
How many contacts do you have in all your addressbooks in total?
I have 150 contacts (local and remote, sogo connector). But now I simualted the problem with only 11 contacts, ONLY in the local adddressbook. It's the same.
With such a small local addressbook it should not be so slow. Yes, there is an initial delay before the autocomplete even starts, but that is like half a second.
We specifically tested the autocomplete and only notice it being slow for 10000s of cards. In such a case it does take several seconds to return the results.
In your case it would be instantaneous. What is your CPU? How did you test the local addressbook case? How did you make TB ignore the remove AB?
What is your CPU?
My CPU: Intel Xeon Quad-Core 2,8 GHz (the "problem" is on all PC-clients in our company...)

How did you test the local addressbook case?
How did you make TB ignore the remove AB?
I removed the remote addressbooks and wrote some contacts in the Personal Address book.

So when you say the response-time (initial delay) of a half second is normaly, we can close the bug. But in older TB-Versions there was no initial delay. The "old" selection of contacts was very fast.
(In reply to Christian Moling from comment #8)
> So when you say the response-time (initial delay) of a half second is
> normaly, we can close the bug. But in older TB-Versions there was no initial
> delay. The "old" selection of contacts was very fast.

I checked the code and the timeout is 0.3seconds. So you shouldn't see a 1second delay. As you do, there may be something wrong.
Some initial delay must be there to prevent 1-character searches across big addressbooks (see bug 1085674), if the user types slowly.

Do you also see the slowness when just opening the addressbook window and showing all contacts in the Personal AB?
No, there is no slowness when I open the addressook window and show the contacts in any AB.

Here you can see the initial delay. Is ist ok, normal?
https://storage.control.troyer.it/public.php?service=files&t=7c1079ee64d978a71a0620523d68d7f2
pwd: thunder

(Normally the addresss "paul.gschnitzer@troyer.it would have to appear at first positon, most used address, but for these case I will open another/nef Bug-report).
You have left the first 2 fields before it could autocomplete anything. That looks like bug 1012397.
In the third field you waited a split second and got a result. You can't count the time it took you to fill the 3 fields together.
Yes it's the bug 1012397. I don't count the time for all attempts.
So we can close this bug and i follow the bug 1012397.
Thanx a lot for yout support!
Thanks.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.