Wireshark mailing list archives

Re: RFC: Protocol fields list (reduce memory usage)


From: Jakub Zawadzki <darkjames-ws () darkjames pl>
Date: Mon, 8 Jul 2013 08:16:24 +0200

On Sun, Jul 07, 2013 at 10:52:26PM -0700, Guy Harris wrote:

On Jul 7, 2013, at 8:59 PM, Jakub Zawadzki <darkjames-ws () darkjames pl> wrote:

Attaching working PoC, listing all fields ordered by protocol takes some more time
(1.07s vs 0.04s compiled with -O0), but output is the same.

What effect, if any, does it have on startup time?  (Would it *reduce* startup time?)

I don't see any difference.

Ir numbers from callgrind tshark -G dunno:

                             before       after
PROGRAM TOTALS             786,421,249  760,023,381
...
proto_register_field_array 282,673,087  256,598,790

3%?
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: