apache / apache/datafusion

Building time for `cargo bench` takes quite a long time

Open
#11,569 3 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
9.3k
Forks
2.4k
Avg merge
3d 7h
Merged PRs (30d)
344

Description

### Is your feature request related to a problem or challenge?

Running `cargo bench --bench math_query_sql` takes almost 4min for building, @goldmedal reported that it takes about 10min for him

Most of the time stuck at `datafusion/core` crate.

### Describe the solution you'd like

Find the root cause and reduce the building time if possible

### Describe alternatives you've considered

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported `cargo bench --bench math_query_sql` build and investigate why compilation spends most of its time in the `datafusion/core` crate. Compare build timings before and after the investigation; done means the benchmark builds measurably faster without losing its existing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.