adds abilit to report timing for execution

This commit is contained in:
2022-03-21 16:58:05 -05:00
parent cfc719dae3
commit ff9cc1349f
7 changed files with 35 additions and 0 deletions

View File

@ -4,9 +4,12 @@ import (
"log"
"regexp"
"sort"
"time"
)
func cleanBadDomains(domains []string) []string {
defer timeTrack(time.Now(), "cleanBadDomains")
// remove duplicates
total := len(domains)
all := make(map[string]bool)