Closed
Bug 672830
Opened 13 years ago
Closed 13 years ago
Very slow autocomplete on 7.0a2, os x
Categories
(Thunderbird :: Message Compose Window, defect)
Tracking
(thunderbird7+ fixed)
RESOLVED
FIXED
Thunderbird 8.0
People
(Reporter: davida, Assigned: mconley)
References
Details
(Keywords: perf, regression)
Attachments
(3 files)
339.38 KB,
text/directory
|
Details | |
447.18 KB,
text/plain
|
Details | |
1.02 KB,
patch
|
standard8
:
review+
standard8
:
approval-comm-aurora+
|
Details | Diff | Splinter Review |
For a couple of days I've noticed exceedingly slow autocomplete in the composition window: 2-4 seconds of delay between keystroke and autocomplete popup showing up. I'm using: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0a2) Gecko/20110720 Thunderbird/7.0a2 I thought it was ldap, but disabling the ldap addressbook and restarting didn't fix it. Wondering whether some of the addressbook de-rdfification could have had perf impact? Stats: - personal address book: 1621 entries - collected addresses: 1376 entries - OS X address book: 1098 entries
Assignee | ||
Comment 1•13 years ago
|
||
David: Going to test a hypothesis - that this performance issue is for the OSX address book implementation. Can you please go into your EarlyBird config editor, and change ldap_2.servers.osx.uri to equal the empty string as opposed to moz-abosxdirectory:///? Does this seem to bypass the slowness? -Mike
Assignee | ||
Comment 2•13 years ago
|
||
(You'll need to restart, too - if the alteration works, the OSX address book will be missing in the address book manager). -Mike
Reporter | ||
Comment 3•13 years ago
|
||
I confirm that disabling OS X address book helps perf (and re-enabling it hurts it again). I'll note that even w/o the OS X address book, there's a delay which feels larger than the usually-recommended-by-UI-guidelines of 200-400msec. I don't know if that's a regression though.
Assignee | ||
Comment 4•13 years ago
|
||
David: Ok, I'll look into this - but it might have to wait until after my August 4th EDS integration add-on demo. Let me know if that's not alright, -Mike
Assignee: nobody → mconley
Assignee | ||
Updated•13 years ago
|
Assignee: mconley → nobody
Reporter | ||
Updated•13 years ago
|
Flags: wanted-thunderbird?
Reporter | ||
Comment 5•13 years ago
|
||
tried to indicate w/ flags that this seems high-priority for 7.0final.
Target Milestone: --- → Thunderbird 7.0
Comment 6•13 years ago
|
||
I wonder if we cached the cards previously somehow...
Depends on: 652855
Keywords: perf,
regression
Comment 7•13 years ago
|
||
We did use to cache the cards, I know I checked that we cached ABs, when the de-RDF patch landed, but admittedly I didn't check cards.
Assignee | ||
Comment 8•13 years ago
|
||
davida:
> I'll note that even w/o the OS X address book, there's a delay
> which feels larger than the usually-recommended-by-UI-guidelines
> of 200-400msec. I don't know if that's a regression though.
Could you install a copy of TB 6.0 and compare their behaviour with the OSX address book disabled? I've got the feeling that the slowdown is in nsAbOSXDirectory.mm, but I want to know for sure.
-Mike
Reporter | ||
Comment 9•13 years ago
|
||
I'll give it a shot.
Assignee | ||
Comment 10•13 years ago
|
||
I've generated about ~1000 contacts for testing, and the evidence is pretty strong that the slow-down is localized to the OSX address book implementation. The slow-down in auto-complete from having ~1000 contacts in the OSX address book is much, much greater than the slow-down from having ~1000 contacts in the Personal Address Book. I'll attach my randomly generated contacts if anyone else wants to try to confirm or refute.
Assignee | ||
Comment 11•13 years ago
|
||
Assignee | ||
Comment 12•13 years ago
|
||
Assignee | ||
Comment 13•13 years ago
|
||
Looks like we were being a bit dumb about nsAbOSXDirectory query instances. This patch significantly sped up auto-complete for me, with ~1000 contacts in my OSX address book. Try results will be available here: http://build.mozillamessaging.com/tinderboxpushlog/?tree=ThunderbirdTry&rev=09fe19b6790e
Assignee: nobody → mconley
Assignee | ||
Comment 14•13 years ago
|
||
And by "significantly", I mean, without the patch, I was waiting for about 4 - 5 seconds for results. With the patch, results come in within 1 second or so.
Assignee | ||
Comment 15•13 years ago
|
||
Comment on attachment 550815 [details] [diff] [review] Patch v1 The try build failed on the OSX 64 bit machine, but I think it was an unrelated failure / fluke. Ready for review.
Attachment #550815 -
Flags: review?(mbanner)
Assignee | ||
Comment 16•13 years ago
|
||
David: Any luck trying this patch out? Does it seem to make things snappier? -Mike
Updated•13 years ago
|
Assignee | ||
Comment 17•13 years ago
|
||
Bump
Updated•13 years ago
|
Attachment #550815 -
Flags: review?(mbanner) → review+
Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Comment 18•13 years ago
|
||
Checked in: http://hg.mozilla.org/comm-central/rev/fd30dc96a8ca
Status: NEW → RESOLVED
Closed: 13 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 8.0
Updated•13 years ago
|
Attachment #550815 -
Flags: approval-comm-aurora+
Comment 19•13 years ago
|
||
Checked into aurora: http://hg.mozilla.org/releases/comm-aurora/rev/cb2c7a7d3b65
status-thunderbird7:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•