MCPcopy Create free account
hub / github.com/google/pprof / diffText

Function diffText

internal/driver/html/stacks.js:577–579  ·  view source on GitHub ↗
(from, to)

Source from the content-addressed store, hash-verified

575 // diffText returns text that displays from and to alongside their percentages.
576 // E.g., 9s (45%) 🠆 10s (50%)
577 function diffText(from, to) {
578 return percentText(from) + " 🠆 " + percentText(to);
579 }
580
581 // percentText returns text that displays v in appropriate units alongside its
582 // percentage.

Callers 2

summaryFunction · 0.85
detailsFunction · 0.85

Calls 1

percentTextFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…