mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-04 12:01:06 +02: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) {
|
||||
lbls, err := ReadLabels("../testdata/1m.series", 900000)
|
||||
lbls, err := ReadLabels("../testdata/20kseries.json", 20000)
|
||||
testutil.Ok(b, err)
|
||||
|
||||
for len(lbls) < 20e6 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user