diff --git a/core.go b/core.go index 7b3cc88..64697ff 100644 --- a/core.go +++ b/core.go @@ -469,8 +469,10 @@ func (th *TimeArrowHelper) GetHitTimeArrow(t time.Time, group string, expandTags defer func() { log.Println("GetHitTimeArrow耗时:", time.Since(startTime)) }() - + dataStartTime := time.Now() ta, err := th.GetData(group) + dataEndTime := time.Now() + log.Println("GetData耗时:", dataEndTime.Sub(dataStartTime)) if err != nil { return nil, err }