GNOME Bugzilla – Bug 373523
thread scoring is too slow
Last modified: 2006-11-16 21:23:31 UTC
Please describe the problem: The "watch thread" and "ignore thread" functions are too slow. If the score file starts to get large (mine has 6500+ scores, built up over a month) and the given newsgroup gets more than a few hundred articles, then each "ignore thread" operation takes 5-10s to complete. This is on a 2GHz dual-core P4. A workaround that I've been using is to periodically delete any extra headers whose score is below the "ignore" threshold. This is a hack, and in any case, Pan should have an option to delete (expire) low-scoring headers automatically. Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Could you attach your scorefile to this ticket so that I can run Pan under a profiler with your scorefile?
Created attachment 76346 [details] Compressed score file
Created attachment 76365 [details] [review] 0.119 patch Faster scorefile parsing.
Carl, could you give this patch a try?
I did. I've been running with the new patch for a few days now; I wanted to wait for my header cache to grow to a more realistic size before I declared it a success. I'm noticing that the behavior is faster, with a few points: 1. Adding the first score to a newly-entered group takes a few seconds 2. Each successive score operation is quick (less than 1s)