bloomberg / bloomberg/memray

Flame graphs can include Memray code

Open
#204 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
15.2k
Forks
461
Avg merge
5d 3h
Merged PRs (30d)
10

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

The example flamegraph for the nbody problem includes a Memray private function.

### Expected Behavior

We should be filtering out every symbol from the Memray DSO so that our hooks don't show up in the reports.

### Steps To Reproduce

https://bloomberg.github.io/memray/_static/flamegraphs/memray-flamegraph-nbody.html#13521

### Memray Version

main

### Python Version

3.11

### Operative System

Linux

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Research direction

The issue names no source file or test; start with the linked nbody flamegraph and trace how its symbols are produced and filtered. Done means the report no longer contains any symbol from the Memray DSO, including the private function shown in the example.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, python
Domain
performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.