Skip to content

chore(benchmark): Fix/update compile profile benchmark#21223

Merged
xudong963 merged 1 commit intoapache:mainfrom
2010YOUY01:update-compile-profile
Mar 30, 2026
Merged

chore(benchmark): Fix/update compile profile benchmark#21223
xudong963 merged 1 commit intoapache:mainfrom
2010YOUY01:update-compile-profile

Conversation

@2010YOUY01
Copy link
Copy Markdown
Contributor

Which issue does this PR close?

  • Closes #.

Rationale for this change

The existing compile profile benchmark is not able to run due to the benchmark binary change, and recently there are several new profiles added. This PR updates the benchmark.

What changes are included in this PR?

Are these changes tested?

I have tested it locally

yongting@Yongtings-MacBook-Pro-2 ~/C/d/benchmarks (update-compile-prof…)> ./bench.sh run compile_profile
...
Summary
Profile             Compile         Run        Size
---------------------------------------------------
dev                  80.81s      11.26s     238.6MB
release             370.69s       1.01s      62.4MB
ci                    7.51s       7.69s     194.5MB
ci-optimized        215.97s       1.13s     114.0MB
release-nonlto       15.95s       1.05s     128.0MB
profiling           953.66s       0.98s      75.9MB

Also, there is a ongoing work to run benchmarks in CI in case it break again: #21165

Are there any user-facing changes?

@xudong963 xudong963 added this pull request to the merge queue Mar 30, 2026
Merged via the queue into apache:main with commit a0869e9 Mar 30, 2026
30 checks passed
Rich-T-kid pushed a commit to Rich-T-kid/datafusion that referenced this pull request Apr 21, 2026
## Which issue does this PR close?

<!--
We generally require a GitHub issue to be filed for all bug fixes and
enhancements and this helps us generate change logs for our releases.
You can link an issue to this PR using the GitHub syntax. For example
`Closes apache#123` indicates that this PR will close issue apache#123.
-->

- Closes #.

## Rationale for this change

<!--
Why are you proposing this change? If this is already explained clearly
in the issue then this section is not needed.
Explaining clearly why changes are proposed helps reviewers understand
your changes and offer better suggestions for fixes.
-->
The existing compile profile benchmark is not able to run due to the
benchmark binary change, and recently there are several new profiles
added. This PR updates the benchmark.

## What changes are included in this PR?

<!--
There is no need to duplicate the description in the issue here but it
is sometimes worth providing a summary of the individual changes in this
PR.
-->

## Are these changes tested?

<!--
We typically require tests for all PRs in order to:
1. Prevent the code from being accidentally broken by subsequent changes
2. Serve as another way to document the expected behavior of the code

If tests are not included in your PR, please explain why (for example,
are they covered by existing tests)?
-->
I have tested it locally
```
yongting@Yongtings-MacBook-Pro-2 ~/C/d/benchmarks (update-compile-prof…)> ./bench.sh run compile_profile
...
Summary
Profile             Compile         Run        Size
---------------------------------------------------
dev                  80.81s      11.26s     238.6MB
release             370.69s       1.01s      62.4MB
ci                    7.51s       7.69s     194.5MB
ci-optimized        215.97s       1.13s     114.0MB
release-nonlto       15.95s       1.05s     128.0MB
profiling           953.66s       0.98s      75.9MB
```

Also, there is a ongoing work to run benchmarks in CI in case it break
again: apache#21165

## Are there any user-facing changes?

<!--
If there are user-facing changes then we may require documentation to be
updated before approving the PR.
-->

<!--
If there are any breaking changes to public APIs, please add the `api
change` label.
-->
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