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

Benchmark for graph construction #41

Open
quasiben opened this issue May 8, 2020 · 0 comments
Open

Benchmark for graph construction #41

quasiben opened this issue May 8, 2020 · 0 comments

Comments

@quasiben
Copy link
Member

quasiben commented May 8, 2020

While exploring scheduler improvements it was recently discovered that removing redundant string concatenations has a measurable performance increase. Tom noted that there currently were no isolated benchmarks which tested graph construction

We could do something similar to what was suggested in dask/dask#6137

In [2]: ddf_d = timeseries(start='2000-01-01', end='2002-01-01', partition_freq='1d')

In [3]: %timeit shuffle(ddf_d, "id", shuffle="tasks")
67.2 ms ± 2.54 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)
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

1 participant