Skip to content

Commit c8c8671

Browse files
committed
graph/db: add NodeUpdatesInHorizon benchmark
1 parent 84b1670 commit c8c8671

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
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)