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 cargo release in bench.sh #11722

Merged
merged 1 commit into from
Jul 31, 2024
Merged

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Jul 30, 2024

Which issue does this PR close?

N/A

Rationale for this change

As we get into serious benchmarking / optimization mode, ensuring the benchmark results are as close to what is actually run as possible is important. Thus I want to propose using cargo release in bench.sh even if that makes the runs take longer.

Most builds of DataFusion use cargo <cmd> --release rather than cargo <cmd> --profile release-nonlto

For example, I am not sure why #11718 shows improvements on some environments and not others.

What changes are included in this PR?

  1. Change bench.sh to use --release instead of --relase-non-lto

Are these changes tested?

I am going to run benchmarks on my test rig manually to see if this causes any differences

Are there any user-facing changes?

@alamb alamb marked this pull request as ready for review July 30, 2024 12:17
@alamb alamb changed the title Use cargo release in benchmarks Use cargo release in bench.sh Jul 30, 2024
Copy link
Contributor

@comphead comphead left a comment

Choose a reason for hiding this comment

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

the CI time without nonLTO is the same 😞

@alamb alamb merged commit 929568d into apache:main Jul 31, 2024
25 checks passed
@alamb alamb added the development-process Related to development process of DataFusion label Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development-process Related to development process of DataFusion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants