Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply review feedback to NEWS entry
Co-authored-by: Carl Meyer <carl@oddbird.net>
  • Loading branch information
itamaro and carljm authored May 4, 2023
commit a125c1fc495782429baca2f892b7a798ec9bdf4c
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
Optimize asyncio.TaskGroup when using eager tasks factory -- Skip scheduling
done callbacks when all tasks finish without blocking - for up to 4x speedup
Optimize :class:`asyncio.TaskGroup` when using :func:`asyncio.eager_task_factory`. Skip scheduling done callbacks when all tasks finish without blocking.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm actually the scheduling is skipped on a per task basis rather than when all tasks finish without blocking.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a fix in itamaro@ac1ee82 (PR depends on gh-104251 first)