-
Notifications
You must be signed in to change notification settings - Fork 483
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Refactor]: Enhancement to selfTime calculation logic in TraceStatist…
…ics view (#1901) ## Which problem is this PR solving? - Resolves #1592 & Resolves #1263 - Indirectly Resolves #877 ## Description of the changes - When calculating selfTime of a span - selfTime is the total time spent in the span when it was not waiting on children. - So we skip the `FOLLOWS_FROM` type child spans - selfTime = duration - (total time consumed by child spans between span startTime and endTime) - This is implemented by using `DRange` similar to the logic in TraceGraph @yurishkuro --------- Signed-off-by: GLVS Kiriti <glvskiriti2003369@gmail.com> Signed-off-by: GLVSKiriti <116095646+GLVSKiriti@users.noreply.github.com> Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
- Loading branch information
1 parent
05d87ce
commit 614bfc9
Showing
6 changed files
with
63 additions
and
230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.