From 5c54cb6dff090b660b0200e0b15221a0958ad4a2 Mon Sep 17 00:00:00 2001 From: public_host Date: Mon, 6 Jan 2025 14:32:21 +0800 Subject: [PATCH] update --- core.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/core.go b/core.go index c04d3b6..99a1f18 100644 --- a/core.go +++ b/core.go @@ -490,20 +490,14 @@ func (th *TimeArrowHelper) GetHitTimeArrow(t time.Time, group string, expandTags log.Println("taSize: ", taSize) for e := range ta { //当天具体时间判断 - isInTimeOfDayStart := time.Now() if !isInTimeOfDay(t, ta[e]) { - log.Println("isInTimeOfDay耗时:", time.Since(isInTimeOfDayStart)) continue } - log.Println("isInTimeOfDay耗时:", time.Since(isInTimeOfDayStart)) //扩展标签判断 - isInExpandTagsStart := time.Now() if !isInExpandTags(ta[e], strings.Join(expandTags, "-")) { - log.Println("isInExpandTags耗时:", time.Since(isInExpandTagsStart)) continue } - log.Println("isInExpandTags耗时:", time.Since(isInExpandTagsStart)) switch ta[e].Type { case TimeArrowTypeDayOfWeek: