Skip to content

Commit 5bc02fb

Browse files
authored
Merge pull request #206 from apelisse/add-apply-twice-operation
Add new ApplyTwice operation benchmark
2 parents b4c53cb + d2c4b55 commit 5bc02fb

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

merge/real_test.go

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,21 @@ func BenchmarkOperations(b *testing.B) {
100100
},
101101
},
102102
},
103+
{
104+
name: "ApplyTwice",
105+
ops: []Operation{
106+
Apply{
107+
Manager: "controller",
108+
APIVersion: "v1",
109+
Object: bench.obj,
110+
},
111+
Apply{
112+
Manager: "other-controller",
113+
APIVersion: "v1",
114+
Object: bench.obj,
115+
},
116+
},
117+
},
103118
{
104119
name: "Update",
105120
ops: []Operation{

0 commit comments

Comments
 (0)