Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a chapter on script optimization #267

Merged
merged 1 commit into from
Aug 13, 2024
Merged

Conversation

ckreibich
Copy link
Member

The goal here is to make regular users aware of the feature at this time, but leave most of the tunables and flags out of the picture for the time being.

@vpax fyi — I'm sure you'll want to iterate on this, or at least review. It's heavily based on your in-tree README, as discussed. (No rush, it can wait until you're back.)

You can tune various features of ZAM via additional options to ``-O``, see the
output of ``zeek -O help`` for details. For example, you can study the script
transformations ZAM applies, and use ZAM selectively in certain files (via
``-0|--optimize-files``) or functions (via ``-o|--optimize-funcs``). Most users
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: the -0 and -o are just because the getopt parser needs single-character options to communicate what's seen (at least, that's my understanding). So they could be removed here, as they're not very mnemonic anyway.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, could address the above nit.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, will do!

The goal here is to make regular users aware of the feature at this time, but
leave most of the tunables and flags out of the picture for the time being.
@ckreibich ckreibich force-pushed the topic/christian/zam branch from a2a3447 to b5a94e7 Compare August 13, 2024 00:33
@ckreibich ckreibich merged commit 283d80c into master Aug 13, 2024
10 checks passed
@ckreibich ckreibich deleted the topic/christian/zam branch August 13, 2024 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants