graph/db: add ChanUpdatesInHorizon benchmark

This commit is contained in:
Elle Mouton
2025-08-05 11:44:53 +02:00
parent e5359f2f5b
commit 4cc5cfef2a

View File

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