GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Optimize and reduce memory usage for `asyncio.Task` and others · Issue #104787 · python/cpython

Optimize and reduce memory usage for asyncio.Task and others #104787

New issue
Copy link
New issue
Copy link
Closed
Closed
Optimize and reduce memory usage for asyncio.Task and others#104787
Copy link
Assignees
kumaraditya303
Labels
3.13only security fixesonly security fixesperformancePerformance or resource usagePerformance or resource usagetopic-asyncio

Description

@kumaraditya303
kumaraditya303
opened on May 23, 2023
Issue body actions

Tracker issue for performance work related to asyncio.Task for 3.13.

Two things of top of my head is to use bitfields and use newer managed dict optimization in _asyncio. I'll add whatsnew entry once all changes land under this issue.

Linked PRs

  • GH-104787: use bitfields in _asyncio #104788
  • GH-104787: use managed dict in _asyncio #104795
  • GH-104787: use managed weakrefs in _asyncio #106516
Reacted by Itamar Oren, Kirill Podoprigora and Aidan

Activity

  1. kumaraditya303
    added
    performancePerformance or resource usagePerformance or resource usage
    topic-asyncio
    3.13only security fixesonly security fixes
    on May 23, 2023
  2. kumaraditya303
    self-assigned this
    on May 23, 2023
  3. github-project-automation
    moved this to Todo in asyncioon May 23, 2023
  4. github-project-automation
    added this to asyncioon May 23, 2023
  5. itamaro commented on May 23, 2023

    @itamaro
    itamaro
    on May 23, 2023
    Contributor
    More actions

    Sounds great!
    Are you planning to also tackle the all_tasks -> per-loop-strong-set as part of this issue?

  6. kumaraditya303 commented on May 23, 2023

    @kumaraditya303
    kumaraditya303
    on May 23, 2023
    ContributorAuthor
    More actions

    Are you planning to also tackle the all_tasks -> per-loop-strong-set as part of this issue?

    Yes, but haven't thought too much about that.

    Reacted by Itamar Oren
    Reacted by Kirill Podoprigora
  7. kumaraditya303
    added a commit that references this issue on May 26, 2023

    GH-104787: use managed dict in `_asyncio` (#104795)

    72c3d2e
  8. kumaraditya303
    added a commit that references this issue on Jun 13, 2023

    GH-104787: use bitfields in `_asyncio` (#104788)

    829ac13
  9. kumaraditya303
    added a commit that references this issue on Jul 10, 2023

    GH-104787: use managed weakrefs in `_asyncio` (#106516)

    8fb6edf
  10. kumaraditya303
    closed this as completedon Jun 19, 2024
  11. github-project-automation
    moved this from Todo to Done in asyncioon Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @kumaraditya303
    kumaraditya303

Labels

3.13only security fixesonly security fixesperformancePerformance or resource usagePerformance or resource usagetopic-asyncio

Projects

  • asyncio
    Status
    Done
    Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.