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

Why use debug = true for Rust framework #6332

Closed
chrislearn opened this issue May 3, 2023 · 1 comment · Fixed by #6333
Closed

Why use debug = true for Rust framework #6332

chrislearn opened this issue May 3, 2023 · 1 comment · Fixed by #6333

Comments

@chrislearn
Copy link
Contributor

I notice all Rust web framework's profile open debug=true. This may have performance issue.

[profile.release]
opt-level = 3
debug = true
debug-assertions = false
overflow-checks = false
lto = true
panic = "abort"
incremental = false
codegen-units = 1
rpath = false
strip = false
@waghanza
Copy link
Collaborator

waghanza commented May 3, 2023

good catch, it should not ... at least it is not something what is done on production

the idea was to have the same compiler options to have a "fair" comparison. could you remove this one ?

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 a pull request may close this issue.

2 participants