mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Fix labels bench test
Signed-off-by: kun <oiooj@qq.com>
This commit is contained in:
parent
195bc0d286
commit
5f929254a3
|
@ -87,7 +87,7 @@ func TestCompareAndEquals(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func BenchmarkSliceSort(b *testing.B) {
|
func BenchmarkSliceSort(b *testing.B) {
|
||||||
lbls, err := ReadLabels("../testdata/1m.series", 900000)
|
lbls, err := ReadLabels("../testdata/20kseries.json", 20000)
|
||||||
testutil.Ok(b, err)
|
testutil.Ok(b, err)
|
||||||
|
|
||||||
for len(lbls) < 20e6 {
|
for len(lbls) < 20e6 {
|
||||||
|
|
Loading…
Reference in a new issue