bug in cprofile reader #461
Labels
area: readers
PRs and Issues involving Hatchet's data readers
type: bug
Identifies bugs in issues and identifies bug fixes in PRs
Milestone
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](https://user-images.githubusercontent.com/31388843/176819756-c6c1e849-72e9-432f-8abc-aee7487c65a5.png)
However, in the
![image](https://user-images.githubusercontent.com/31388843/176820041-20318805-bce5-4dbe-b331-ba05b4e79c51.png)
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) -> ...
In addition, we have only one recursive node in the dataframe:
![image](https://user-images.githubusercontent.com/31388843/176820233-e757c012-5cf4-4dd6-8841-153bbb28df6f.png)
The text was updated successfully, but these errors were encountered: