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

Can we add free threading benchmarks to the suite? #40

Open
iritkatriel opened this issue Sep 11, 2024 · 3 comments
Open

Can we add free threading benchmarks to the suite? #40

iritkatriel opened this issue Sep 11, 2024 · 3 comments
Assignees

Comments

@iritkatriel
Copy link
Contributor

Is it feasible to integrate the benchmarks from https://github.com/facebookincubator/ft_utils/tree/main into this repo?

@SonicField

@SonicField
Copy link

There are a lot of things we learned in getting reliable FT benchmarks. We can absolutely either figure out how to integrate the ft_ulits benchmarks here or port the learnings over.

One challenge is getting good benchmarks requires some of the machinery from ft_utils. So we need to manage that dependency somehow.

@mdboom
Copy link
Contributor

mdboom commented Sep 11, 2024

pyperformance has a "manifest" mechanism by which you can pull in benchmarks from another repo, and I think @ericsnowcurrently's intent was to start collecting concurrency benchmarks in https://github.com/faster-cpython/concurrency-benchmarks. But that's all just a starting point, and we can deal with the details however seems most appropriate -- we can either move the necessary ft_utils machinery there, or just specify ft_utils as a dependency (it can even be a github dependency to start with).

Alternatively, pyperf is the current place where all the "magic" to accurately measure single-threaded things lives, so I could imagine it growing free-threaded skills as well. Longer term, this seems like the right "community" place for this to be.

But I think at this point we should do whatever is easiest to get something working.

I'm happy to take a first crack at getting one of the ft_utils benchmarks running within the pyperformance ecosystem and report back here about how it goes.

@SonicField
Copy link

SonicField commented Sep 11, 2024 via email

@mdboom mdboom self-assigned this Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants