diff --git a/core.go b/core.go index a31b9f2..7b3cc88 100644 --- a/core.go +++ b/core.go @@ -465,6 +465,11 @@ func (th *TimeArrowHelper) CallHitTimeArrow(t time.Time, group string, call func } func (th *TimeArrowHelper) GetHitTimeArrow(t time.Time, group string, expandTags ...string) (*TimeArrow, error) { + startTime := time.Now() + defer func() { + log.Println("GetHitTimeArrow耗时:", time.Since(startTime)) + }() + ta, err := th.GetData(group) if err != nil { return nil, err