Skip to content

Commit d2c4b55

Browse files
committed
Add new ApplyTwice operation benchmark
1 parent b4c53cb commit d2c4b55

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)