-
-
Notifications
You must be signed in to change notification settings - Fork 194
Add xdsl benchmark #403
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
base: main
Are you sure you want to change the base?
Add xdsl benchmark #403
Conversation
I talked to Edmund and the other xDSL authors and I want to upstream an xDSL benchmark to pyperformance. The reason is that xDSL is an MLIR DSL framework written in pure Python. This represents something in the compiler-like space and is an interesting workload. We previously had a mypy benchmark relying in the pyston macrobenchmarks but that did a lot of IO and was too unstable so we took it out. This in general is also a worst-case for the JIT, as it uses a lot of Python's dynamic features. I will review and merge this assuming no objections. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Will wait for a few more days before merging. I assume you might be busy soon, so please don't mind if I push changes to your branch. Sorry!
Sounds good -- I won't be able to do any work more on this after August 10th, so feel free to make any changes required. Thanks for your time discussing and reviewing this change! |
As discussed in the xDSL Zulip with @Fidget-Spinner, this PR adds a benchmark for constant folding with xDSL.
The new benchmark runs as expected locally: