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

Support different display granularities in flame graph view. #896

Merged
merged 3 commits into from
Sep 27, 2024

Commits on Sep 25, 2024

  1. Support different display granularities in flame graph view.

    Previously, flame-graph view could only display filefunctions
    granularity. We can now support all the available granularities.
    
    This allows the user to supply a granularity either via a command-line
    flag (e.g., --files), or as a URL parameter (e.g., ?g=files).
    
    Details
    * Made the default initial granularity "" so that we can stick with
      the default flame-graph granularity of "filefunctions" while also
      allowing overrides.
    * Use different computation of the list of shorter display names
      for file names (strip off leading path components instead of package
      prefixes).
    * Similarly compute color based on directory name instead of package name.
    * Include line number and column number in displayed names if the
      granularity includes line numbers.
    ghemawat committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    beb5bf4 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. Configuration menu
    Copy the full SHA
    4929b94 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    124e426 View commit details
    Browse the repository at this point in the history