From 651fb229ce9dba18fe076a8a33b904c74e1b7c6f Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Thu, 30 Apr 2026 01:19:20 +0200 Subject: fix benchmark calling the wrong test function I should have been suspicious of the Gorm/Gorp numbers matching exactly :) --- benchmark/benchmark_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/benchmark_test.go b/benchmark/benchmark_test.go index 12f739c..721d3a2 100644 --- a/benchmark/benchmark_test.go +++ b/benchmark/benchmark_test.go @@ -143,7 +143,7 @@ func BenchmarkSelectMany(b *testing.B) { // run actual benchmark b.Run("via Gorm using Find", func(b *testing.B) { for b.Loop() { - selectWithGorp(b) + selectWithGorm(b) } }) b.Run("via Gorp using Select", func(b *testing.B) { -- cgit v1.2.3