Ethereal-dev: Re: [Ethereal-dev] Ethereal performance, after Guy's changes ...

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Wed, 19 Nov 2003 09:51:24 -0800
On Wed, Nov 19, 2003 at 09:26:47PM +1100, Ronnie Sahlberg wrote:
> You do not use any color filters.

Correct.  Not everybody does, so getting rid of the filter would still
help.

However, it might be possible, with a summary list widget with a
callback, to have the color set when a row is displayed - dissect the
packet when the row is displayed and, if there's a color filter,
construct a protocol tree, run the color filter, and color it then. 
(Think of it as "lazy coloring".)

> Anyway, either the RTP thing is updated to not register the tap unless the
> user selects it from the menu or we just reverse it.

I still think that getting rid of the filter for that tap might be the
better idea, unless the data structures it constructs consume a lot of
memory or constructing them consumes a lot of CPU time.