Closed
Bug 104243
Opened 23 years ago
Closed 23 years ago
Local Search needs to do more than one header per time slice
Categories
(SeaMonkey :: MailNews: Message Display, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.7
People
(Reporter: Bienvenu, Assigned: Bienvenu)
Details
(Keywords: perf)
Attachments
(1 file, 1 obsolete file)
1.44 KB,
patch
|
sspitzer
:
superreview+
|
Details | Diff | Splinter Review |
For each time slice, local search only looks at one header. It should look at 10
or a 100 or more. That will speed up local search a lot, and will make quick
search actually feasible.
Assignee | ||
Updated•23 years ago
|
Comment 1•23 years ago
|
||
ya, I have the quick search going, and I found it real slow. This should help.
Assignee | ||
Comment 2•23 years ago
|
||
Assignee | ||
Comment 3•23 years ago
|
||
Can I get some reviews? Also, Navin, you could apply the patch and see if helps
the performance problem you're seeing. The 100 number I'm using is somewhat
arbitrary. We can try tuning it as well.
Assignee | ||
Comment 4•23 years ago
|
||
Assignee | ||
Comment 5•23 years ago
|
||
Comment on attachment 53157 [details] [diff] [review]
proposed fix
while an excellent patch, this is for an old bug :-)
Attachment #53157 -
Attachment is obsolete: true
Comment 6•23 years ago
|
||
Comment on attachment 53162 [details] [diff] [review]
wrong diff - this is the right one
sr=sspitzer
Attachment #53162 -
Flags: superreview+
Comment 7•23 years ago
|
||
sure, r=naving.
Comment 8•23 years ago
|
||
It is still not that fast. For an inbox (imap, won't matter because
offlineSearch) it takes 10-15 secs to search ~4300 messages, that yields
~140 matches.
Assignee | ||
Comment 9•23 years ago
|
||
is it faster than yesterday? did you try increasing the 100 to something like
500 or 1000?
Comment 10•23 years ago
|
||
Yes, it is definitely faster than yesterday. But what is the optimal size.
> = faster, 500 > 100 > 1. I haven't tried 1000 but I guess it will be faster
than 500. I think we should put this const at 1000, assuming that an average
user has 1000(s) of messages in inbox. 500 is also decent.
Assignee | ||
Comment 11•23 years ago
|
||
if you want to test the improvement this patch makes, you need to do a search
without any hits. Otherwise, you're just measuring the other stuff like
inserting into the view and repainting all the time. Ultimately, of course, you
have to measure and fix that stuff. We don't want to make the constant too big,
because we'll starve the UI. But I wouldn't be surprised if 1000 was OK. I'll
check it in as 500 and you can tune it later.
Assignee | ||
Comment 12•23 years ago
|
||
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 13•23 years ago
|
||
OK using nov 19 commerical trunk build: win98, linux rh6.2 and mac OS X.
Large local folders now complete a search lickety-split.
Status: RESOLVED → VERIFIED
Comment 14•23 years ago
|
||
I think that 500 headers per time slice may be to many if email is being
searched in "body contains" mode. So, bug #155800 is probably caused by the fix
here.
Updated•20 years ago
|
Product: Browser → Seamonkey
Component: MailNews: Search → MailNews: Message Display
QA Contact: laurel → search
You need to log in
before you can comment on or make changes to this bug.
Description
•