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

Improve verify benchmark results time (even) more by using debug (rather than release) build #7709

Open
alamb opened this issue Oct 1, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@alamb
Copy link
Contributor

alamb commented Oct 1, 2023

Is your feature request related to a problem or challenge?

While reviewing #7708 from @sarutak I spent time looking into what plan_q does and it is not at all clear to me it needs to be built in release mode:

https://github.com/apache/arrow-datafusion/blob/46cdb8c2dc495e8063a0adc5c3f9ac82b136e72e/benchmarks/src/tpch/run.rs#L297-L453

Describe the solution you'd like

Since the benchmark verifies the plans (rather than actually running them). I think it is ok to use debug mode (rather than release) mode which compiles faster and will have more reuse with the subsequent call to cargo test --test sqllogictests

Describe alternatives you've considered

No response

Additional context

No response

@alamb
Copy link
Contributor Author

alamb commented Oct 1, 2023

I see -- the issue appears to be that non release build overflows the stackL

Screenshot 2023-10-01 at 7 27 07 AM

I will add a comment to the file about this rationale

alamb added a commit that referenced this issue Oct 1, 2023
…se mode

While looking into #7709 I discovered why this test is run in release mode, and I wanted to leave a note for my future self
alamb added a commit that referenced this issue Oct 2, 2023
…se mode (#7712)

While looking into #7709 I discovered why this test is run in release mode, and I wanted to leave a note for my future self
Ted-Jiang pushed a commit to Ted-Jiang/arrow-datafusion that referenced this issue Oct 7, 2023
…se mode (apache#7712)

While looking into apache#7709 I discovered why this test is run in release mode, and I wanted to leave a note for my future self
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant