-
Notifications
You must be signed in to change notification settings - Fork 77
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
Quite long compilation time #70
Comments
Thanks for the report. I did a quick check, one of the main reason is arrow crate takes too much time to build. It may not easy to optimize this, one option is switch to https://github.com/jorgecarleitao/arrow2 but I'm also not sure if that implementation is faster or not. And I also noticed you use bundled feature of this crate, it will compile the c++ source code and also might takes too much time. I may suggest you to download the binary follow what I did in here https://github.com/wangfenjin/duckdb-rs/blob/main/.github/workflows/rust.yaml#L37-L51 |
Asked in apache/arrow-rs#2170 |
Thanks a lot for looking into this @wangfenjin ! To update on this — I tried to understand why our cached build was taking so much time, given that I don't have a great answer, though this workflow shows that much of the time is coming from the |
With |
Thanks for the excellent crate! We're using it in https://github.com/prql/prql for integration tests.
Something I wanted to highlight was the compilation time of the crate. At the moment, it's responsible for about 60% of our whole project's compilation time.
For a concrete case, check out the build timings here: https://github.com/prql/prql/suites/7516963360/artifacts/309340433 (just added in PRQL/prql#856 !).
Here's a screenshot:
Thanks!
The text was updated successfully, but these errors were encountered: