From c8c86717f2bd561477ed103bf49b32b9d609b074 Mon Sep 17 00:00:00 2001 From: Elle Mouton Date: Tue, 29 Jul 2025 11:33:29 +0200 Subject: [PATCH] graph/db: add NodeUpdatesInHorizon benchmark --- graph/db/benchmark_test.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/graph/db/benchmark_test.go b/graph/db/benchmark_test.go index 81083a97f..18d45be58 100644 --- a/graph/db/benchmark_test.go +++ b/graph/db/benchmark_test.go @@ -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 {