You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.
As discussed today, we should create a custom lint that checks how big a closure is when using this feature (this can be done by looking at the results of min-capture analysis, even if the feature is disabled) and compares it to the size of a closure using only upvars-mentioned. The lint could trigger if the size increases by more than N% and we can do a crater run to get a sense of how often that occurs. Something like that.
The text was updated successfully, but these errors were encountered:
FWIW I'd be really interested in dumping "average size of a closure" or even ideally distribution data before/after, not just growth; if we have the compiler emit it in some standard-ish format for each closure then downloading all logs from crater (e.g. se available options here: https://crater-reports.s3.amazonaws.com/beta-1.50-1/downloads.html) and pulling the data should not be too hard, and lets us answer ~any question we want here.
I was thinking the same thing. Crater isn't really the right tool for this, what I really want is to get measurements. If there are options for that, it'd be great.
As discussed today, we should create a custom lint that checks how big a closure is when using this feature (this can be done by looking at the results of min-capture analysis, even if the feature is disabled) and compares it to the size of a closure using only upvars-mentioned. The lint could trigger if the size increases by more than N% and we can do a crater run to get a sense of how often that occurs. Something like that.
The text was updated successfully, but these errors were encountered: