-
-
Notifications
You must be signed in to change notification settings - Fork 18.9k
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
Compare binary size with latest master
build on CI
#91715
Conversation
a67ef5d
to
c42d3af
Compare
c42d3af
to
7f9cf51
Compare
I don't think comparing the binary size with hardcoded sizes is the right approach. I want to see on CI if the PR's build is larger than the latest successful
I've opened a proposal to detail the intent of this feature: godotengine/godot-proposals#9705 |
7f9cf51
to
daefbe6
Compare
I disagree, we can use the data from for example github actions' 4.2 branch. The idea is that the hardcoded values don't change every commit. |
daefbe6
to
705b11e
Compare
If we do this, then we don't know anymore if a PR is actually helping reduce Godot's binary size, or is increasing it. For example:
Both PRs appear to result in a huge binary size increase, but one is actually doing a great job at reducing binary size compared to the status quo ( |
Maybe we can store the last build size on cache? |
We could have a dedicated artifact for this if we really want to avoid downloading previous builds, but I don't think that's a big issue. Make sure to run |
1863c7c
to
137b12d
Compare
57760f1
to
fa364e8
Compare
070c8ee
to
2e2e6c3
Compare
This makes it easier to track binary size regressions, as you no longer have to build the editor and/or export templates locally to do so. Try to combine the workspace.
2e2e6c3
to
5c6545a
Compare
This is stuck looking for a way to determine "last" logical commit and downloadd, executing it to calculate binary size. |
This makes it easier to track binary size regressions, as you no longer have to build the editor and/or export templates locally to do so.
@Calinou Can you link the proposal number for your pr?