Skip to content

Commit

Permalink
fix(perf): Fix incorrect logging of performance of context setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwalton committed Apr 24, 2022
1 parent 49fb63f commit 3bb2915
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/perf/perf.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3bb2915

Please sign in to comment.