Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug in cprofile reader #461

Open
ocnkr opened this issue Jul 1, 2022 · 0 comments
Open

bug in cprofile reader #461

ocnkr opened this issue Jul 1, 2022 · 0 comments
Labels
area: readers PRs and Issues involving Hatchet's data readers type: bug Identifies bugs in issues and identifies bug fixes in PRs
Milestone

Comments

@ocnkr
Copy link
Collaborator

ocnkr commented Jul 1, 2022

The cprofile reader cannot create nodes properly.
graphframe = ht.GraphFrame.from_cprofile("tests/data/cprofile-hatchet-pstats/cprofile-cycle.pstats")

The tree output after creating the graphframe:
image

However, in the graphframe.graph object we have many "recursive" nodes. The output when we print the nodes in following order:
e -> f (child of e) -> recursive (child of f) -> recursive (child of recursive) -> recursive (child of recursive) -> ... -> recursive (child of recursive) -> ...
image

In addition, we have only one recursive node in the dataframe:
image

@ocnkr ocnkr added type: bug Identifies bugs in issues and identifies bug fixes in PRs area: readers PRs and Issues involving Hatchet's data readers labels Jul 1, 2022
@ocnkr ocnkr added this to the v1.4.0 milestone Nov 7, 2022
@bhatele bhatele modified the milestones: v1.4.0, v1.4.1 May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: readers PRs and Issues involving Hatchet's data readers type: bug Identifies bugs in issues and identifies bug fixes in PRs
Projects
None yet
Development

No branches or pull requests

2 participants