From 20786bdf4186f7a55adbff680cc3c280da3c5bf9 Mon Sep 17 00:00:00 2001 From: public_host Date: Mon, 6 Jan 2025 14:09:18 +0800 Subject: [PATCH] update --- core.go | 5 +++++ 1 file changed, 5 insertions(+) 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