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 — gh-91048: Revert the memory cache removal for remote debugging by pablogsal · Pull Request #136440 · python/cpython

Conversation

@pablogsal

@pablogsal pablogsal commented Jul 8, 2025 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Some users have complained that removing the cache makes async introspection slower

  • Issue: Async Call-Stack Reconstruction #91048

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@pablogsal
pythongh-91048: Reintroduce the memory cache for remote debugging
8847d02
@pablogsal
pablogsal requested review from 1st1 and ambv as code owners July 8, 2025 23:51
@pablogsal pablogsal added the needs backport to 3.14 bugs and security fixes label Jul 8, 2025
@bedevere-app bedevere-app Bot added the awaiting core review label Jul 8, 2025
@bedevere-app bedevere-app Bot mentioned this pull request Jul 8, 2025
Async Call-Stack Reconstruction #91048
Closed
@pablogsal pablogsal added the skip news label Jul 8, 2025
@pablogsal

pablogsal commented Jul 8, 2025

Copy link
Copy Markdown
Member Author

Note: this partially reverts the cache removal of #136005 so this code was in previous betas, just reverting back to it.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pablogsal pablogsal changed the title gh-91048: Reintroduce the memory cache for remote debugging gh-91048: Revert the memory cache removal for remote debugging Jul 8, 2025
@pablogsal

pablogsal commented Jul 8, 2025

Copy link
Copy Markdown
Member Author

Confirmed the regression:

Current:

Real-time sampling stats: Mean: 4498.8Hz (222.28µs) Min: 83.1Hz (12029.75µs) Max: 5065.9Hz (197.40µs) Samples: 7503^CTraceback (most recent call last):

Before the cache removal:

Real-time sampling stats: Mean: 10835.8Hz (92.29µs) Min: 81.9Hz (12207.85µs) Max: 11610.2Hz (86.13µs) Samples: 7413

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pablogsal
pablogsal enabled auto-merge (squash) July 8, 2025 23:55
@pablogsal
Fix crash when reading NULL name
b65bbf4
@pablogsal
pablogsal merged commit 77d25e5 into python:main Jul 9, 2025
@pablogsal
pablogsal deleted the cache branch July 9, 2025 00:31
@miss-islington-app

miss-islington-app Bot commented Jul 9, 2025

Copy link
Copy Markdown

Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the awaiting core review label Jul 9, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 9, 2025
@pablogsal @miss-islington
pythongh-91048: Revert the memory cache removal for remote debugging (p…
a2d6ea0
…ythonGH-136440)

(cherry picked from commit 77d25e5)

Co-authored-by: Pablo Galindo Salgado <[email protected]>
pythongh-91048: Reintroduce the memory cache for remote debugging
@bedevere-app

bedevere-app Bot commented Jul 9, 2025

Copy link
Copy Markdown

GH-136443 is a backport of this pull request to the 3.14 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Jul 9, 2025
pablogsal added a commit that referenced this pull request Jul 9, 2025
@miss-islington @pablogsal
[3.14] gh-91048: Revert the memory cache removal for remote debugging (…
9a79c51
…GH-136440) (#136443)

gh-91048: Revert the memory cache removal for remote debugging (GH-136440)
(cherry picked from commit 77d25e5)


gh-91048: Reintroduce the memory cache for remote debugging

Co-authored-by: Pablo Galindo Salgado <[email protected]>
@bedevere-bot

This comment has been minimized.

Sign in to view
AndPuQing pushed a commit to AndPuQing/cpython that referenced this pull request Jul 11, 2025
@pablogsal @AndPuQing
pythongh-91048: Revert the memory cache removal for remote debugging (p…
f8f0602
…ython#136440)

pythongh-91048: Reintroduce the memory cache for remote debugging
Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
@pablogsal @Pranjal095
pythongh-91048: Revert the memory cache removal for remote debugging (p…
3afd7d4
…ython#136440)

pythongh-91048: Reintroduce the memory cache for remote debugging
picnixz pushed a commit to picnixz/cpython that referenced this pull request Jul 13, 2025
@pablogsal @picnixz
pythongh-91048: Revert the memory cache removal for remote debugging (p…
8c470ab
…ython#136440)

pythongh-91048: Reintroduce the memory cache for remote debugging
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
@pablogsal @taegyunkim
pythongh-91048: Revert the memory cache removal for remote debugging (p…
5b2e39d
…ython#136440)

pythongh-91048: Reintroduce the memory cache for remote debugging
Agent-Hellboy pushed a commit to Agent-Hellboy/cpython that referenced this pull request Aug 19, 2025
@pablogsal @Agent-Hellboy
pythongh-91048: Revert the memory cache removal for remote debugging (p…
1a219b5
…ython#136440)

pythongh-91048: Reintroduce the memory cache for remote debugging
kumaraditya303 pushed a commit to miss-islington/cpython that referenced this pull request Sep 9, 2025
@miss-islington @pablogsal @kumaraditya303
[3.14] pythongh-91048: Revert the memory cache removal for remote deb…
cfc1321
…ugging (pythonGH-136440) (python#136443)

pythongh-91048: Revert the memory cache removal for remote debugging (pythonGH-136440)
(cherry picked from commit 77d25e5)


pythongh-91048: Reintroduce the memory cache for remote debugging

Co-authored-by: Pablo Galindo Salgado <[email protected]>
@maurycy maurycy mentioned this pull request May 9, 2026
_remote_debugging: reading whole pages over and over #149584
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@ambv ambv Awaiting requested review from ambv
@1st1 1st1 Awaiting requested review from 1st1

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

skip news

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@pablogsal @bedevere-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.