mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 19:18:19 +00:00
Quick optimization to Broxygen doc gathering.
So script parsing is only ~2x slower rather than 20x. Turns out cloning Vals is particularly slow. Changed to just get a string description of the Val for initial value and redef tracking.
This commit is contained in:
parent
15b1904ca8
commit
52733b0501
6 changed files with 59 additions and 13 deletions
|
@ -227,6 +227,7 @@ void usage()
|
|||
fprintf(stderr, " $BRO_SEED_FILE | file to load seeds from (not set)\n");
|
||||
fprintf(stderr, " $BRO_LOG_SUFFIX | ASCII log file extension (.%s)\n", logging::writer::Ascii::LogExt().c_str());
|
||||
fprintf(stderr, " $BRO_PROFILER_FILE | Output file for script execution statistics (not set)\n");
|
||||
fprintf(stderr, " $BRO_DISABLE_BROXYGEN | Disable Broxygen documentation support (%s)\n", getenv("BRO_DISABLE_BROXYGEN") ? "set" : "not set");
|
||||
|
||||
fprintf(stderr, "\n");
|
||||
fprintf(stderr, " Supported log formats: ");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue