Commit 7877e55c authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 099bfc29
...@@ -880,10 +880,11 @@ func benchmarkLinkRTT(b *testing.B, l1, l2 *NodeLink) { ...@@ -880,10 +880,11 @@ func benchmarkLinkRTT(b *testing.B, l1, l2 *NodeLink) {
} }
}() }()
get := &GetObject{}
obj := &AnswerObject{}
for i := 0; i < b.N; i++ { for i := 0; i < b.N; i++ {
// NOTE keeping inside loop to simulate what happens in real Load
get := &GetObject{}
obj := &AnswerObject{}
get.Oid = zodb.Oid(i) get.Oid = zodb.Oid(i)
get.Serial = zodb.Tid(i+1) get.Serial = zodb.Tid(i+1)
get.Tid = zodb.Tid(i+2) get.Tid = zodb.Tid(i+2)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment