aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2026-04-30 01:19:20 +0200
committerStefan Majewsky <majewsky@gmx.net>2026-04-30 01:19:20 +0200
commit651fb229ce9dba18fe076a8a33b904c74e1b7c6f (patch)
treef89ba5ce1b6583b5624c88c22719b4e275bb526b
parentea9464fccd26783564e852f10212fc9ce850c5ff (diff)
downloadgo-oblast-651fb229ce9dba18fe076a8a33b904c74e1b7c6f.tar.gz
fix benchmark calling the wrong test function
I should have been suspicious of the Gorm/Gorp numbers matching exactly :)
-rw-r--r--benchmark/benchmark_test.go2
1 files changed, 1 insertions, 1 deletions
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) {