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

Use O3 + flto with all but msvc #2696

Merged
merged 21 commits into from
Nov 11, 2024
Merged

Use O3 + flto with all but msvc #2696

merged 21 commits into from
Nov 11, 2024

Conversation

Miguel-hrvs
Copy link
Contributor

@Miguel-hrvs Miguel-hrvs commented Oct 6, 2024

Performance improves by a lot, msvc have to stay with minsizerel at the moment:
current master:
og

pr:
pr

Also my wren chromatic aberration benchmark goes from 38 to 52fps
this was tested in my laptop

@Miguel-hrvs Miguel-hrvs changed the title Use O3 + flto with html, android, linux, mingw and macos builds Use O3 + flto with all but msvc Oct 13, 2024
@Miguel-hrvs
Copy link
Contributor Author

Copy link
Owner

@nesbox nesbox left a comment

Choose a reason for hiding this comment

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

Thank you

@@ -112,12 +112,12 @@ jobs:
shell: bash
run: |
cd build
cmake -G "MSYS Makefiles" -DBUILD_SDLGPU=On -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_WITH_ALL=ON -DBUILD_WITH_JANET=OFF ..
cmake --build . --config MinSizeRel --parallel
cmake -G "MSYS Makefiles" -DBUILD_SDLGPU=On -DBUILD_STATIC=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_WITH_ALL=ON -DBUILD_WITH_JANET=OFF ..
Copy link
Owner

Choose a reason for hiding this comment

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

Is it a good idea to have everything built statically when we recently made all scripts run dynamically as shared libs?

Copy link
Owner

Choose a reason for hiding this comment

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

ok, let's resolve this later

@nesbox nesbox merged commit 0365ecc into nesbox:main Nov 11, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants