Wireshark-dev: Re: [Wireshark-dev] Profiled dumpcap
From: Anders Broman <[email protected]>
Date: Fri, 09 May 2014 07:19:13 +0200
Guy Harris skrev 2014-05-09 07:11:
On May 8, 2014, at 2:09 PM, Anders Broman <[email protected]> wrote:

I'm not sure but from the picture there seems to be a bit of overhead per write so if we reduce
the fwrites() to 3, hdr-pkdata-footer with hdr and footer being a local buffer[x] it might make some difference.
Presumably you're talking about the writes in pcapng_write_enhanced_packet_block() and putting the padding, options, and trailer into the footer, right?
But how much of the overhead is due to multiple calls to write_to_file() and thus to fwrite()?
That remains to be seen :-)
Perhaps it's not worth it...
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
              mailto:[email protected]?subject=unsubscribe