graph/db: add ChanUpdatesInHorizon benchmark

This commit is contained in:
Elle Mouton committed 2025-08-07 08:04:19 +02:00
1 parent e5359f2f5b
commit 4cc5cfef2a
1 file changed
+9
+9
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 {