New rendering for folded calls in callgraphs

In the callgraph the concept of folded nodes are calls to functions that have almost the same execution time than their parent, that means they take up a huge amount of the time of their parent function call. Previously the callgraph showed a barely visible +1, +2 or +n behind the function name to indicate that nodes have been folded into the parent. This was hard to understand, because the reason for number was not explained in the UI.

We have redesigned the rendering of callgraphs to show an extra node with text “n folded calls (click to expand)”. This hopefully makes it much clearer what is happening in our rendering and how you can interact with it. See a screenshot of the new folded nodes in action.

About the author

  • Benjamin

Benjamin
Founder & CEO

I am the founder and CEO of Tideways. I started the company over 10 years ago with the mission to move the PHP ecosystem forward, starting with performance. As managing director, I work across product, strategy, and the day-to-day of building a developer-focused SaaS business.

I’m a core contributor to the Doctrine open-source project and a founding board member of the PHP Foundation, which reflects my long-standing commitment to the PHP ecosystem. I particularly enjoy working at the intersection of application performance, developer experience, and the open-source community that makes PHP what it is. Outside of work, I enjoy board games, hiking, and coffee.