mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
@@ -15,21 +15,20 @@
|
||||
package metrics
|
||||
|
||||
import (
|
||||
"reflect"
|
||||
|
||||
"github.com/gohugoio/hugo/helpers"
|
||||
|
||||
"github.com/gohugoio/hugo/common/types"
|
||||
|
||||
"fmt"
|
||||
"io"
|
||||
"math"
|
||||
"reflect"
|
||||
"sort"
|
||||
"strconv"
|
||||
"strings"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/gohugoio/hugo/helpers"
|
||||
|
||||
"github.com/gohugoio/hugo/common/types"
|
||||
|
||||
"github.com/gohugoio/hugo/compare"
|
||||
)
|
||||
|
||||
@@ -182,7 +181,6 @@ func (s *Store) WriteMetrics(w io.Writer) {
|
||||
fmt.Fprintf(w, " %13s %12s %12s %5d %s\n", v.sum, v.avg, v.max, v.count, v.key)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// A result represents the calculated results for a given metric.
|
||||
@@ -243,7 +241,6 @@ func howSimilar(a, b interface{}) int {
|
||||
return 100
|
||||
}
|
||||
return 0
|
||||
|
||||
}
|
||||
|
||||
// howSimilar is a naive diff implementation that returns
|
||||
|
Reference in New Issue
Block a user