grafana / grafana/pyroscope-python

pyspy: idle and gil_only filtering happens too late

Open
#114 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
4
Forks
2
Avg merge
2d 4h
Merged PRs (30d)
5

Description

The pyspy collects all the traces for all the threads just to later drop them if not needed, this may consume significant cpu time.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating where pyspy collects thread traces and where the idle and gil_only filters are applied. Trace the current collection path to understand why unwanted traces are gathered first. Done means unnecessary traces are excluded earlier and the behavior is covered by the relevant existing tests, if available.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
devtools, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.