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

Add per-operator benchmarks #15214

Open
Shreyaskr1409 opened this issue Mar 13, 2025 · 1 comment
Open

Add per-operator benchmarks #15214

Shreyaskr1409 opened this issue Mar 13, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@Shreyaskr1409
Copy link

Is your feature request related to a problem or challenge?

Datafusion have benchmarks which would determine general performance of datafusion as a whole system, but when it comes to testing and analyzing each operator in datafusion, there is no major development so far.

We currently can potentially monitor performance metrics of DataFusion, but if a single operator could be responsible for slow performance then finding that operator could be a difficult task. This is something I discussed a bit in slack and in #5504 .

Describe the solution you'd like

Like the implementation of benchmark SortPreservingMerge : https://github.com/apache/datafusion/blob/main/datafusion/core/benches/spm.rs , we could build a bunch of benchmarks for different operators.
We could start with a few like Filter, joins like HashJoin, Projection and so on.

There is a lot which could be added with passage of time, but so far I would like to listen to suggestions from the community about what they think as well.

Describe alternatives you've considered

No response

Additional context

I will be continuously updating this issue as more information is gained. This would be a rather large project in itself, maybe we could branch out more such tickets to gradually add more benchmarks for each operators.

@Shreyaskr1409 Shreyaskr1409 added the enhancement New feature or request label Mar 13, 2025
@Shreyaskr1409
Copy link
Author

I would like to work on few such operators this week and add updates if I find something nice. I might also be creating another issue to add scripts to run these per-operator benchmarks and produce suitable outputs.

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

No branches or pull requests

1 participant