Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
7877e55c
Commit
7877e55c
authored
Sep 10, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
099bfc29
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
go/neo/connection_test.go
go/neo/connection_test.go
+4
-3
No files found.
go/neo/connection_test.go
View file @
7877e55c
...
@@ -880,10 +880,11 @@ func benchmarkLinkRTT(b *testing.B, l1, l2 *NodeLink) {
...
@@ -880,10 +880,11 @@ func benchmarkLinkRTT(b *testing.B, l1, l2 *NodeLink) {
}
}
}()
}()
for
i
:=
0
;
i
<
b
.
N
;
i
++
{
// NOTE keeping inside loop to simulate what happens in real Load
get
:=
&
GetObject
{}
get
:=
&
GetObject
{}
obj
:=
&
AnswerObject
{}
obj
:=
&
AnswerObject
{}
for
i
:=
0
;
i
<
b
.
N
;
i
++
{
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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment