From 3bb2915fec1bccf212280d99f565e25b2f326fdc Mon Sep 17 00:00:00 2001 From: Jason Walton Date: Sun, 24 Apr 2022 09:52:16 -0400 Subject: [PATCH] fix(perf): Fix incorrect logging of performance of context setup. --- internal/perf/perf.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/perf/perf.go b/internal/perf/perf.go index 52c8155..b64d7b7 100644 --- a/internal/perf/perf.go +++ b/internal/perf/perf.go @@ -59,6 +59,7 @@ func (p *Performance) EndWithChildren(description string, childPerfs *Performanc duration := time.Since(startTime) p.Add(description, duration, childPerfs) + p.lastStart = time.Now() } // Add adds execution time for an item to this Performance object.