Skip to content

Commit

Permalink
rename frame to function
Browse files Browse the repository at this point in the history
  • Loading branch information
Zylphrex committed Sep 26, 2023
1 parent 959fd44 commit 2f6d26f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/occurrence/occurrence.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ func FromRegressedFunction(p profile.Profile, regressed RegressedFunction, f fra
fingerprint := fmt.Sprintf("%x", regressed.Fingerprint)
beforeP95 := time.Duration(regressed.AggregateRange1).Round(10 * time.Microsecond)
afterP95 := time.Duration(regressed.AggregateRange2).Round(10 * time.Microsecond)
regressionText := fmt.Sprintf("P95 frame duration increased from %s to %s.", beforeP95, afterP95)
regressionText := fmt.Sprintf("P95 function duration increased from %s to %s.", beforeP95, afterP95)

return &Occurrence{
Culprit: fullyQualifiedName,
Expand Down Expand Up @@ -265,7 +265,7 @@ func FromRegressedFunction(p profile.Profile, regressed RegressedFunction, f fra
},
Fingerprint: []string{fingerprint},
ID: eventID(),
IssueTitle: "Frame Duration Regression",
IssueTitle: "Function Duration Regression",
Level: "info",
ProjectID: regressed.ProjectID,
Subtitle: regressionText,
Expand Down

0 comments on commit 2f6d26f

Please sign in to comment.