Skip to content

Commit 23dd01c

Browse files
authored
Merge pull request #10115 from ellemouton/graphPerf3
[2] graph/db: batch-fetch node data
2 parents 4389067 + 6ca4317 commit 23dd01c

File tree

6 files changed

+508
-122
lines changed

6 files changed

+508
-122
lines changed

graph/db/benchmark_test.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,6 +673,15 @@ func BenchmarkGraphReadMethods(b *testing.B) {
673673
require.NoError(b, err)
674674
},
675675
},
676+
{
677+
name: "NodeUpdatesInHorizon",
678+
fn: func(b testing.TB, store V1Store) {
679+
_, err := store.NodeUpdatesInHorizon(
680+
time.Unix(0, 0), time.Now(),
681+
)
682+
require.NoError(b, err)
683+
},
684+
},
676685
}
677686

678687
for _, test := range tests {

0 commit comments

Comments
 (0)