From 2f6d26fa209bb5a9e2f96d57d0629dcd72790f57 Mon Sep 17 00:00:00 2001 From: Tony Xiao Date: Tue, 26 Sep 2023 14:34:45 -0400 Subject: [PATCH] rename frame to function --- internal/occurrence/occurrence.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/occurrence/occurrence.go b/internal/occurrence/occurrence.go index 17eff29..9a672ae 100644 --- a/internal/occurrence/occurrence.go +++ b/internal/occurrence/occurrence.go @@ -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, @@ -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,