Skip to content

Running the sql_planner benchmark takes too long (many hours) #18366

@alamb

Description

@alamb

Describe the bug

Running the sql_planner benchmark takes multiple hours, which makes it very hard to run / find useful

For example, logical_plan_optimize reports it will take 14782s = 246min = 4.1 HOURs

Benchmarking logical_plan_optimize: Warming up for 3.0000 s
Warning: Unable to complete 100 samples in 5.0s. You may wish to increase target time to 14782.0s, or reduce sample count to 10.
Benchmarking logical_plan_optimize: Collecting 100 samples in estimated  14782 s (100 iterations)^X

To Reproduce

cargo bench --bench sql_planner -- logical_plan_optimize

Expected behavior

I expect the benchmarks to each take around 5s which is the standard amount of time needed

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions