profiling [was: flex speed]

David Relson relson at osagesoftware.com
Tue Aug 5 03:50:48 CEST 2003


Greetings Michael,

Back in June I did some profiling, which revealed a number of hot spots in 
the code.  I was able to make some changes that resulted in major local 
speed increases, as well as a significant overall speed 
improvement.  They're mentionned in CHANGES-0.13 under 0.13.6.3.

The flex code takes a big chunk of the processing time, as does the 
database code.  If you, or anyone else, knows flex and can reorder, 
restructure, revise that code to make it faster, that would be a wonderful 
thing.  Any body who wants to experiment with reordering the parsing rules 
has my blessing!

David





More information about the Bogofilter mailing list