Skip to content

Conversation

@kripken
Copy link
Member

@kripken kripken commented Oct 9, 2025

The key idea here is that we can take two separate modules, merge them, and then
optimize in the most aggressive manner (even closed world) internally, as any
optimization change after the merge is a bug. (We must still avoid optimizing
the separate modules in closed world, which happens later in this fuzzer.)

Compare the full merged output to the pre-merged, for maximal coverage. This
requires fixing up export names after the merge, which is a little annoying, but
seems worth it.

This mode has been (re)finding WebAssembly/custom-descriptors#57 , so it should not land until we fix it here.

@kripken kripken requested a review from tlively October 9, 2025 19:04
# Run at relatively high priority, as this is the main place we check cross-
# module interactions.
frequency = 1
frequency = 1 # TODO: We may want even higher priority here
Copy link
Member

Choose a reason for hiding this comment

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

Higher than 1?

Copy link
Member Author

Choose a reason for hiding this comment

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

https://www.youtube.com/watch?v=4xgx4k83zzc

Seriously though, yes, "1" here means we use it with chance 100% when we pick it. But it still is limited by that chance to be picked out of the list in the first place. If e.g. we put it in the list twice, it would have double the chance it currently has.

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