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 — Expose internal stack introspection APIs as a statistical runtime analysis tool · Issue #135953 · python/cpython

Expose internal stack introspection APIs as a statistical runtime analysis tool #135953

New issue
Copy link
New issue
Copy link
Open
1 / 11 of 1 issue completed
Open
Expose internal stack introspection APIs as a statistical runtime analysis tool#135953
1 / 11 of 1 issue completed
Copy link
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancementA feature request or enhancement

Description

@pablogsal
pablogsal
opened on Jun 25, 2025
Issue body actions

Feature or enhancement

Implement a new high-frequency runtime observer that leverages the existing _remote_debugging module to collect detailed execution statistics from running Python processes. This tool enables non-intrusive observation of production applications by attaching to already-running processes without requiring any code modifications, restarts, or special startup flags. The observer can perform extremely high-frequency sampling of stack traces and interpreter state, providing detailed runtime execution analysis of live applications.

Linked PRs

  • gh-135953: Implement sampling tool under profile.sample #135998
  • gh-135953: Profile a module or script with sampling profiler #136777
  • gh-135953: Add flamegraph reporter to sampling profiler #138304
  • gh-135953: Add flamegraph reporter to sampling profiler #138715
  • gh-135953: Fix refleak in cache method #138721
  • gh-135953: Reduce memory usage of stack collectors #138875
  • gh-135953: Prevent overflow in the profiler flamegraph hover boxes #138880
  • gh-135953: Add Gecko reporter to sampling profiler #139364
  • gh-135953: Add GIL contention markers to sampling profiler Gecko format #139485
  • gh-135953: Simplify GC markers in the tachyon profiler #141666
  • gh-135953: Refactor test_sampling_profiler into multiple files #141689
  • gh-135953: Avoid BytesWarning when sampling profiler tests fail #141719
  • gh-135953: Properly obtain main thread identifier in Gecko Collector #146045
Reacted by Taegyun Kim

Activity

Next
  1. pablogsal
    added
    type-featureA feature request or enhancementA feature request or enhancement
    on Jun 25, 2025
  2. pablogsal commented on Jun 25, 2025

    @pablogsal
    pablogsal
    on Jun 25, 2025
    MemberAuthor
    More actions

    I'm working on this with @lkollar

  3. picnixz
    added
    interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)
    on Jun 27, 2025
  4. pablogsal
    added a commit that references this issue on Jul 10, 2025

    gh-135953: Implement sampling tool under profile.sample (#135998)

    59acdba
  5. AndPuQing
    added a commit that references this issue on Jul 11, 2025

    pythongh-135953: Implement sampling tool under profile.sample (python…

    d58d9ae
  6. Pranjal095
    added a commit that references this issue on Jul 12, 2025

    pythongh-135953: Implement sampling tool under profile.sample (python…

    95427d6
  7. picnixz
    added a commit that references this issue on Jul 13, 2025

    pythongh-135953: Implement sampling tool under profile.sample (python…

    e44038a
  8. StanFromIreland
    added a sub-issue on Jul 19, 2025
    • One million hertz #136793
  9. taegyunkim
    added a commit that references this issue on Aug 4, 2025

    pythongh-135953: Implement sampling tool under profile.sample (python…

    8368e2d
  10. pablogsal
    added a commit that references this issue on Aug 11, 2025

    gh-135953: Profile a module or script with sampling profiler (#136777)

    4497ad4
  11. maurycy
    added a commit that references this issue on Aug 12, 2025

    Merge branch 'main' into csv-sniffer-counter-set

    11c891d
  12. Agent-Hellboy
    added 2 commits that reference this issue on Aug 19, 2025

    pythongh-135953: Implement sampling tool under profile.sample (python…

    7bf790e

    pythongh-135953: Profile a module or script with sampling profiler (p…

    5e3eba3
  13. pablogsal
    added 2 commits that reference this issue on Sep 9, 2025

    gh-135953: Add flamegraph reporter to sampling profiler (#138715)

    137519a

    pythongh-135953: Fix refleak in cache method

    3ed9e9e
  14. 19 remaining items

  15. pablogsal
    added 5 commits that reference this issue on Nov 17, 2025

    pythongh-135953: Simplify GC markers in the tachyon profiler

    5c473cb

    gh-135953: Simplify GC markers in the tachyon profiler (#141666)

    274a26c

    pythongh-135953: Refactor test_sampling_profiler into multiple files

    7326587

    pythongh-135953: Refactor test_sampling_profiler into multiple files

    eec35ae

    gh-135953: Refactor test_sampling_profiler into multiple files (#141689)

    a52c39e
  16. encukou
    added 2 commits that reference this issue on Nov 18, 2025

    pythongh-135953: Avoid BytesWarning when sampling profiler tests fail

    06a7158

    gh-135953: Avoid BytesWarning when sampling profiler tests fail (GH-1…

    e217874
  17. StanFromIreland
    added 4 commits that reference this issue on Dec 6, 2025

    pythongh-135953: Add GIL contention markers to sampling profiler Geck…

    d68a2ac

    pythongh-135953: Simplify GC markers in the tachyon profiler (python#…

    c2f6778

    pythongh-135953: Refactor test_sampling_profiler into multiple files (p…

    eff5a2a

    pythongh-135953: Avoid BytesWarning when sampling profiler tests fail (…

    22ece0b
  18. ashm-dev
    added a commit that references this issue on Dec 8, 2025

    pythongh-135953: Avoid BytesWarning when sampling profiler tests fail (…

    2aee349
  19. pablogsal
    added a commit that references this issue on Mar 22, 2026

    gh-135953: Properly obtain main thread identifier in Gecko Collector (#…

    a17301a
  20. CuriousLearner
    added a commit that references this issue on Mar 23, 2026

    Merge branch 'main' of github.com:python/cpython into fix-pythongh-13…

    3e05fa3
  21. ljfp
    added a commit that references this issue on Apr 25, 2026

    pythongh-135953: Properly obtain main thread identifier in Gecko Coll…

    92090c7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancementA feature request or enhancement

    Projects

    No projects

      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.