Skip to content

Add inclusive time to HumanOutput #10

@Sharpie

Description

@Sharpie

The human output format currently displays everything in terms of exclusive time -- that is time spent within a span after excluding time spent within child spans. For completeness, we should also display inclusive time, possibly with some highlighting similar to what explain.depesz.com does to emphasize spans where the bulk of execution time is spent:

  • white background - is chosen if time <= 10% of total query time
  • yellow background - is chosen if time ∈ (10%, 50%> of total query time
  • brown background - is chosen if time ∈ (50%, 90%> of total query time
  • red background - is chosen if time > 90% of total query time

Ref. https://explain.depesz.com/help

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions