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

Performance Tip - Build in Release #8

Open
tomblind opened this issue Jan 14, 2021 · 0 comments
Open

Performance Tip - Build in Release #8

tomblind opened this issue Jan 14, 2021 · 0 comments

Comments

@tomblind
Copy link

Following up on thestr4ng3r#374 here, since that's locked now.

I finally got around to trying to optimize chiaki for the Pi Zero again, and one of the big things I've found is embarrassingly obvious: I wasn't building in release, and thus wasn't compiling with optimizations on. This gave a pretty huge boost in performance (barely ever hitting 100% cpu now).

I recommend adding a tip about this to your wiki, for folks like me who aren't as familiar with cmake:

cmake .. -DCMAKE_BUILD_TYPE=Release
@Fredrum Fredrum pinned this issue Aug 22, 2021
@Fredrum Fredrum unpinned this issue Mar 8, 2022
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

No branches or pull requests

1 participant