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

Schedule a queued task when a task secedes #7224

Merged
merged 6 commits into from
Oct 31, 2022

Conversation

gjoseph92
Copy link
Collaborator

Closes #7223

  • Tests added / passed
  • Passes pre-commit run --all-files

I'm not totally sure about this. Yielding a single value vs returning a single value from a function is 3-4x slower in Python (45ns vs 130ns on my machine). `_exit_processing_common` is pretty hot, and especially latency sensitive with fast tasks. Probably not worth worrying about, but let's profile and see.
@gjoseph92 gjoseph92 self-assigned this Oct 28, 2022
@gjoseph92 gjoseph92 mentioned this pull request Oct 28, 2022
6 tasks
@github-actions
Copy link
Contributor

github-actions bot commented Oct 29, 2022

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

       15 files  ±0         15 suites  ±0   6h 34m 43s ⏱️ - 4m 24s
  3 166 tests +1    3 081 ✔️ +  2    83 💤  - 1  2 ±0 
23 424 runs  +8  22 520 ✔️ +11  898 💤  - 5  6 +2 

For more details on these failures, see this check.

Results for commit 9ad1608. ± Comparison against base commit 1db2595.

♻️ This comment has been updated with latest results.

@crusaderky crusaderky merged commit ad6ce1d into dask:main Oct 31, 2022
@gjoseph92 gjoseph92 deleted the pop-queue-on-secede branch October 31, 2022 23:25
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

Successfully merging this pull request may close these issues.

Queued tasks could deadlock in combination with secede
2 participants