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

Updating default make flags for make-settings in profiling section. #170

Merged
merged 2 commits into from
Sep 10, 2024

Conversation

roshkhatri
Copy link
Member

@roshkhatri roshkhatri commented Sep 9, 2024

By default, Valkey is now build with OPTIMIZATION=-O3 and -fno-omit-frame-pointer. The make setting in the valkey repository are updated here: https://github.com/valkey-io/valkey/blob/f504cf233bd08d56b1aa4af6c1ef3a2b4aa0ac60/src/Makefile#L32

Docs did not seem to be updated for the same.
Updating the docs accordingly.

topics/performance-on-cpu.md Outdated Show resolved Hide resolved
topics/performance-on-cpu.md Outdated Show resolved Hide resolved
Comment on lines +48 to +49
and hotspots. This setup strikes a balance between maintaining a highly optimized executable
and ensuring that profiling and tracing tools provide accurate and actionable data.
Copy link
Contributor

Choose a reason for hiding this comment

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

GPT generated :D ?

Copy link
Member Author

@roshkhatri roshkhatri Sep 9, 2024

Choose a reason for hiding this comment

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

Yeah :P for formatting the content better.

Copy link
Member

Choose a reason for hiding this comment

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

So verbose though 🫠

Signed-off-by: Roshan Khatri <[email protected]>
Copy link
Member

@madolson madolson left a comment

Choose a reason for hiding this comment

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

Thanks for cleaning this up Hari.

@madolson madolson merged commit 25fe317 into valkey-io:main Sep 10, 2024
2 checks passed
@roshkhatri roshkhatri deleted the update-profiling-docs branch September 10, 2024 15:55
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.

3 participants