Ethereal-dev: Re: [Ethereal-dev] ethereal performance

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: Thu, 4 Dec 2003 03:08:01 -0800
On Wed, Dec 03, 2003 at 10:00:07PM +1100, Ronnie Sahlberg wrote:
> Please keep ideas, patches and profile data coming.

I've checked in a change to use our own data structure, rather than a
tree of GNodes, for the protocol tree; it sped up one test case by
5-10%, and significantly sped up the processing of one capture with a
large YPALL reply (as appending to the list of child nodes of a node is
now constant-time rather than linear in the number of child nodes -
"proto_node" structures have pointers to the first and last child). 
(Unfortunately, I suspect the GTree widget uses a tree of GNodes, so
building the display for that packet is still slow.)

Hopefully I haven't broken anything.