diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2026-04-30 01:19:20 +0200 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2026-04-30 01:19:20 +0200 |
| commit | 651fb229ce9dba18fe076a8a33b904c74e1b7c6f (patch) | |
| tree | f89ba5ce1b6583b5624c88c22719b4e275bb526b /benchmark | |
| parent | ea9464fccd26783564e852f10212fc9ce850c5ff (diff) | |
| download | go-oblast-651fb229ce9dba18fe076a8a33b904c74e1b7c6f.tar.gz | |
fix benchmark calling the wrong test function
I should have been suspicious of the Gorm/Gorp numbers matching exactly :)
Diffstat (limited to 'benchmark')
| -rw-r--r-- | benchmark/benchmark_test.go | 2 |
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) { |
