Ethereal-dev: Re: [Ethereal-dev] Reassembling out of order packets

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

From: "Guy Harris" <gharris@xxxxxxxxx>
Date: Thu, 28 Oct 2004 12:40:52 -0700 (PDT)
Jerry Talkington said:
> req_resp_hdrs_do_reassembly() needs to be revisted anyway, since it
> seems to cause a huge performance hit when loading large HTTP responses.

Are you certain that the performance hit is due specifically to
"req_resp_hdrs_do_reassembly()", rather than due to either

    1) the reassembly code being slow reassembling *any* large packet

or

    2) the text widget that displays the raw packet data being slow
dealing with very large amounts of text (which it *definitely* is)

or

    3) the code to build protocol trees, or the tree widget, being slow in
dealing with very large protocol trees (the code to build protocol
trees should be O(n) in the number of nodes, but the tree widget might
be O(n^2) if, for example, it appends to lists by starting at the
beginning of the list and scanning to find the end)?