Skip to content

Conversation

@jarusified
Copy link
Contributor

This PR implements a high-level API class, called Boxplot to compute the performance variability of call sites. The Boxplot API computes the quartiles, outliers, and several statistics from a GraphFrame. The results of the computation (indexed by callsites) are dumped as GraphFrames (as members (i.e.,self.gf). The API also exposes to_json method to dump the results in JSON, which can be used to visualize as boxplot vis in #394. The boxplot API takes the following arguments,

  • multi_index_gf - Multi-indexed GraphFrame (required),
  • drop_index - The index to drop in the ht.GraphFrame.dataframe to compute the variability (e.g., rank, dataset) (optional).
  • metrics - list of inclusive/exclusive metrics (optional) [default = inc_metrics + exc_metrics]
bp = BoxPlot(multi_index_gf=gf, drop_index="rank", metrics=["time"])

# The computed GraphFrames can be dumped as below.
print(bp.gf)

jarusified and others added 30 commits September 10, 2021 11:46
…mple files which can be re-added by with content. Modified cct to be built with webpack and loaded using new roundtrip.
@jarusified jarusified added area-visualization Issues and PRs involving any of the Hatchet provided visualizations status-revisions-needed Revisions have been requested from a reviewer for this PR labels Feb 3, 2022
@slabasan slabasan force-pushed the develop branch 17 times, most recently from b461833 to 48d44ce Compare August 9, 2022 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-visualization Issues and PRs involving any of the Hatchet provided visualizations status-revisions-needed Revisions have been requested from a reviewer for this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants