graph/db: add NodeUpdatesInHorizon benchmark

This commit is contained in:
Elle Mouton
2025-07-29 11:33:29 +02:00
parent 84b1670742
commit c8c86717f2

View File

@@ -673,6 +673,15 @@ func BenchmarkGraphReadMethods(b *testing.B) {
require.NoError(b, err)
},
},
{
name: "NodeUpdatesInHorizon",
fn: func(b testing.TB, store V1Store) {
_, err := store.NodeUpdatesInHorizon(
time.Unix(0, 0), time.Now(),
)
require.NoError(b, err)
},
},
}
for _, test := range tests {