mirror of
https://github.com/netbirdio/netbird.git
synced 2025-03-03 17:31:13 +01:00
add additional cases for other resources with high counts
This commit is contained in:
parent
9c783e574b
commit
06d18c0fbe
@ -33,7 +33,10 @@ func BenchmarkCreateSetupKey(b *testing.B) {
|
||||
{"Setup Keys - XS", 10000, 10000, 10000, 5, 0.5, 2, 1, 12},
|
||||
{"Setup Keys - S", 5, 5, 5, 100, 0.5, 2, 1, 12},
|
||||
{"Setup Keys - M", 100, 20, 20, 1000, 0.5, 2, 1, 12},
|
||||
{"Setup Keys - L", 500, 50, 100, 5000, 0.5, 2, 1, 12},
|
||||
{"Setup Keys - L", 5, 5, 5, 5000, 0.5, 2, 1, 12},
|
||||
{"Peers - L", 10000, 5, 5, 5000, 0.5, 2, 1, 12},
|
||||
{"Groups - L", 5, 10000, 5, 5000, 0.5, 2, 1, 12},
|
||||
{"Users - L", 5, 5, 10000, 5000, 0.5, 2, 1, 12},
|
||||
{"Setup Keys - XL", 500, 50, 100, 25000, 0.5, 2, 1, 12},
|
||||
}
|
||||
|
||||
@ -104,7 +107,10 @@ func BenchmarkUpdateSetupKey(b *testing.B) {
|
||||
{"Setup Keys - XS", 10000, 10000, 10000, 5, 0.5, 3, 2, 15},
|
||||
{"Setup Keys - S", 5, 5, 5, 100, 0.5, 3, 3, 15},
|
||||
{"Setup Keys - M", 100, 20, 20, 1000, 0.5, 3, 3, 15},
|
||||
{"Setup Keys - L", 500, 50, 100, 5000, 0.5, 3, 3, 15},
|
||||
{"Setup Keys - L", 5, 5, 5, 5000, 0.5, 3, 3, 15},
|
||||
{"Peers - L", 10000, 5, 5, 5000, 0.5, 3, 3, 15},
|
||||
{"Groups - L", 5, 10000, 5, 5000, 0.5, 3, 3, 15},
|
||||
{"Users - L", 5, 5, 10000, 5000, 0.5, 3, 3, 15},
|
||||
{"Setup Keys - XL", 500, 50, 100, 25000, 0.5, 3, 3, 15},
|
||||
}
|
||||
|
||||
@ -176,7 +182,10 @@ func BenchmarkGetOneSetupKey(b *testing.B) {
|
||||
{"Setup Keys - XS", 10000, 10000, 10000, 5, 0.5, 2, 1, 12},
|
||||
{"Setup Keys - S", 5, 5, 5, 100, 0.5, 2, 1, 12},
|
||||
{"Setup Keys - M", 100, 20, 20, 1000, 0.5, 2, 1, 12},
|
||||
{"Setup Keys - L", 500, 50, 100, 5000, 0.5, 2, 1, 12},
|
||||
{"Setup Keys - L", 5, 5, 5, 5000, 0.5, 2, 1, 12},
|
||||
{"Peers - L", 10000, 5, 5, 5000, 0.5, 2, 1, 12},
|
||||
{"Groups - L", 5, 10000, 5, 5000, 0.5, 2, 1, 12},
|
||||
{"Users - L", 5, 5, 10000, 5000, 0.5, 2, 1, 12},
|
||||
{"Setup Keys - XL", 500, 50, 100, 25000, 0.5, 2, 1, 12},
|
||||
}
|
||||
|
||||
@ -235,7 +244,10 @@ func BenchmarkGetAllSetupKeys(b *testing.B) {
|
||||
{"Setup Keys - XS", 10000, 10000, 10000, 5, 0.5, 2, 1, 10},
|
||||
{"Setup Keys - S", 5, 5, 5, 10, 0.5, 2, 1, 12},
|
||||
{"Setup Keys - M", 100, 20, 20, 1000, 5, 10, 2, 15},
|
||||
{"Setup Keys - L", 500, 50, 100, 5000, 30, 50, 10, 25},
|
||||
{"Setup Keys - L", 5, 5, 5, 5000, 30, 50, 10, 25},
|
||||
{"Peers - L", 10000, 5, 5, 5000, 30, 50, 2, 5},
|
||||
{"Groups - L", 5, 10000, 5, 5000, 30, 50, 2, 5},
|
||||
{"Users - L", 5, 5, 10000, 5000, 30, 50, 2, 5},
|
||||
{"Setup Keys - XL", 500, 50, 100, 25000, 140, 220, 35, 150},
|
||||
}
|
||||
|
||||
@ -294,7 +306,10 @@ func BenchmarkDeleteSetupKey(b *testing.B) {
|
||||
{"Setup Keys - XS", 10000, 10000, 10000, 5, 0.5, 2, 1, 12},
|
||||
{"Setup Keys - S", 5, 5, 5, 100, 0.5, 2, 1, 12},
|
||||
{"Setup Keys - M", 100, 20, 20, 1000, 0.5, 2, 1, 12},
|
||||
{"Setup Keys - L", 500, 50, 100, 5000, 0.5, 2, 1, 12},
|
||||
{"Setup Keys - L", 5, 5, 5, 5000, 0.5, 2, 1, 12},
|
||||
{"Peers - L", 10000, 5, 5, 5000, 0.5, 2, 1, 12},
|
||||
{"Groups - L", 5, 10000, 5, 5000, 0.5, 2, 1, 12},
|
||||
{"Users - L", 5, 5, 10000, 5000, 0.5, 2, 1, 12},
|
||||
{"Setup Keys - XL", 500, 50, 100, 25000, 0.5, 2, 1, 12},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user