From 915e98a3abc705a56c3571894507c8e2e8dee2c2 Mon Sep 17 00:00:00 2001 From: public_host Date: Mon, 6 Jan 2025 14:16:55 +0800 Subject: [PATCH] update --- core.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 }