mirror of
https://github.com/netbirdio/netbird.git
synced 2025-03-03 17:31:13 +01:00
update expected benchmark timings
This commit is contained in:
parent
49037a7ac8
commit
a931fd7b3c
@ -30,11 +30,11 @@ func BenchmarkCreateSetupKey(b *testing.B) {
|
||||
minMsPerOpCICD float64
|
||||
maxMsPerOpCICD float64
|
||||
}{
|
||||
{"Setup Keys - XS", 5, 5, 5, 5, 0.5, 2, 2, 12},
|
||||
{"Setup Keys - S", 5, 5, 5, 5, 0.5, 2, 2, 12},
|
||||
{"Setup Keys - M", 100, 20, 20, 100, 0.5, 2, 2, 12},
|
||||
{"Setup Keys - L", 500, 50, 100, 1000, 0.5, 2, 2, 12},
|
||||
{"Setup Keys - XL", 500, 50, 100, 5000, 0.5, 2, 2, 12},
|
||||
{"Setup Keys - XS", 5, 5, 5, 5, 0.5, 2, 1, 12},
|
||||
{"Setup Keys - S", 5, 5, 5, 5, 0.5, 2, 1, 12},
|
||||
{"Setup Keys - M", 100, 20, 20, 100, 0.5, 2, 1, 12},
|
||||
{"Setup Keys - L", 500, 50, 100, 1000, 0.5, 2, 1, 12},
|
||||
{"Setup Keys - XL", 500, 50, 100, 5000, 0.5, 2, 1, 12},
|
||||
}
|
||||
|
||||
log.SetOutput(io.Discard)
|
||||
@ -101,7 +101,7 @@ func BenchmarkUpdateSetupKey(b *testing.B) {
|
||||
minMsPerOpCICD float64
|
||||
maxMsPerOpCICD float64
|
||||
}{
|
||||
{"Setup Keys - XS", 5, 5, 5, 5, 0.5, 2, 3, 15},
|
||||
{"Setup Keys - XS", 5, 5, 5, 5, 0.5, 2, 2, 15},
|
||||
{"Setup Keys - S", 5, 5, 5, 5, 0.5, 2, 3, 15},
|
||||
{"Setup Keys - M", 100, 20, 20, 100, 0.5, 2, 3, 15},
|
||||
{"Setup Keys - L", 500, 50, 100, 1000, 0.5, 2, 3, 15},
|
||||
@ -173,11 +173,11 @@ func BenchmarkGetOneSetupKey(b *testing.B) {
|
||||
minMsPerOpCICD float64
|
||||
maxMsPerOpCICD float64
|
||||
}{
|
||||
{"Setup Keys - XS", 5, 5, 5, 5, 0.5, 2, 2, 12},
|
||||
{"Setup Keys - S", 5, 5, 5, 5, 0.5, 2, 2, 12},
|
||||
{"Setup Keys - M", 100, 20, 20, 100, 0.5, 2, 2, 12},
|
||||
{"Setup Keys - L", 500, 50, 100, 1000, 0.5, 2, 2, 12},
|
||||
{"Setup Keys - XL", 500, 50, 100, 5000, 0.5, 2, 2, 12},
|
||||
{"Setup Keys - XS", 5, 5, 5, 5, 0.5, 2, 1, 12},
|
||||
{"Setup Keys - S", 5, 5, 5, 5, 0.5, 2, 1, 12},
|
||||
{"Setup Keys - M", 100, 20, 20, 100, 0.5, 2, 1, 12},
|
||||
{"Setup Keys - L", 500, 50, 100, 1000, 0.5, 2, 1, 12},
|
||||
{"Setup Keys - XL", 500, 50, 100, 5000, 0.5, 2, 1, 12},
|
||||
}
|
||||
|
||||
log.SetOutput(io.Discard)
|
||||
@ -233,10 +233,10 @@ func BenchmarkGetAllSetupKeys(b *testing.B) {
|
||||
maxMsPerOpCICD float64
|
||||
}{
|
||||
{"Setup Keys - XS", 5, 5, 5, 5, 0.5, 2, 1, 10},
|
||||
{"Setup Keys - S", 5, 5, 5, 5, 0.5, 2, 1, 10},
|
||||
{"Setup Keys - M", 100, 20, 20, 100, 0.5, 2, 3, 15},
|
||||
{"Setup Keys - S", 5, 5, 5, 50, 0.5, 2, 1, 12},
|
||||
{"Setup Keys - M", 100, 20, 20, 100, 0.5, 2, 2, 15},
|
||||
{"Setup Keys - L", 500, 50, 100, 1000, 5, 10, 10, 25},
|
||||
{"Setup Keys - XL", 500, 50, 100, 5000, 25, 45, 50, 150},
|
||||
{"Setup Keys - XL", 500, 50, 100, 5000, 25, 45, 35, 150},
|
||||
}
|
||||
|
||||
log.SetOutput(io.Discard)
|
||||
|
Loading…
Reference in New Issue
Block a user