wireshark/plugins
Роман Донченко afa8f21f56 make-dissectors-reg: optimize by factoring out the loops
Instead of calling the grep/sed pipelines for each file, build the
list of files in the beginning and call each pipeline only once,
passing the list to the first grep.

This results in a massive speedup in Cygwin; in my test, the time
it takes to run make-dissector-reg . dissectors packet-*.c in dissectors/epan
is reduced from ~116 to ~3 seconds. I also tried it on NetBSD, where
the time do to the same goes from ~6 to ~0.5 seconds.

Amend makefile comments to elide mentions of invoking multiple processes
per file.

Change-Id: Iad441e7d2b6cc3669dada57646e2f8f6b987fd34
Reviewed-on: https://code.wireshark.org/review/2826
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-07-06 08:08:20 +00:00
..
asn1 make-dissectors-reg: optimize by factoring out the loops 2014-07-06 08:08:20 +00:00
docsis make-dissectors-reg: optimize by factoring out the loops 2014-07-06 08:08:20 +00:00
easy_codec Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
ethercat make-dissectors-reg: optimize by factoring out the loops 2014-07-06 08:08:20 +00:00
gryphon make-dissectors-reg: optimize by factoring out the loops 2014-07-06 08:08:20 +00:00
irda make-dissectors-reg: optimize by factoring out the loops 2014-07-06 08:08:20 +00:00
m2m make-dissectors-reg: optimize by factoring out the loops 2014-07-06 08:08:20 +00:00
mate make-dissectors-reg: optimize by factoring out the loops 2014-07-06 08:08:20 +00:00
opcua make-dissectors-reg: optimize by factoring out the loops 2014-07-06 08:08:20 +00:00
profinet make-dissectors-reg: optimize by factoring out the loops 2014-07-06 08:08:20 +00:00
stats_tree Add .rc files to the sources to have them included in the build 2014-06-20 23:58:22 +00:00
tpg Add .rc files to the sources to have them included in the build 2014-06-20 23:58:22 +00:00
unistim make-dissectors-reg: optimize by factoring out the loops 2014-07-06 08:08:20 +00:00
wimax make-dissectors-reg: optimize by factoring out the loops 2014-07-06 08:08:20 +00:00
wimaxasncp make-dissectors-reg: optimize by factoring out the loops 2014-07-06 08:08:20 +00:00
wimaxmacphy make-dissectors-reg: optimize by factoring out the loops 2014-07-06 08:08:20 +00:00
Custom.m4.example Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Custom.make.example Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Custom.nmake.example Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Makefile.am Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Makefile.common.inc Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Makefile.nmake Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00