ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] RFC: Protocol fields list (reduce memory usage)

From: Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx>
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@xxxxxxxxxxxx> 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%?