Skip to content

Database Benchmarks – Wide GetList (defensible) ​

This suite is the source of truth for GetList claims vs other ORMs.

It uses wide_read_poco (~40 columns, non-trivial string bodies) — the shape that exposed the old per-row ordinal tax — not the narrow complex_poco model.

What is measured ​

Method groupTimed workORMs
E2EExecute LIMIT N + map to List<T>JASE, Dapper, EF Core, RepoDB, LinqToDB
MaterializeOnlyMap loop only (ExecuteReader in [IterationSetup])JASE, Dapper

Params: N = 500, 2000, 5000

Fairness ​

  • Postgres only (matches the customer report path)
  • Warm GlobalSetup: schema ensure, ≥25k seeded rows, diagnostics/history off, one warm read per ORM
  • Same ordering (ORDER BY id) and limit
  • Iteration asserts Count == N
  • Dapper: MatchNamesWithUnderscores = true
  • EF: AsNoTracking()

How to run ​

powershell
dotnet run --project Benchmarks/DbBenchmarks --configuration Release -- --filter *GetListWide*

Results ​

Local run (in-process), 2026-09-18 — Postgres localhost / ormbench, 25k seeded wide_read_poco rows.

Environment: Windows 11, AMD Ryzen 7 PRO 7840U, .NET 10.0.11, BenchmarkDotNet Monitoring (Launch=2, Warmup=10, Iteration=40).

E2E ​

MethodCountMeanMedianP95Allocated
RepoDb_E2E5005.11 ms5.02 ms5.91 ms2.22 MB
LinqToDB_E2E5005.81 ms5.79 ms7.26 ms2.24 MB
Dapper_E2E5006.46 ms5.71 ms11.38 ms2.27 MB
EF_E2E5006.85 ms6.78 ms8.18 ms2.32 MB
JASE_E2E5007.17 ms7.07 ms8.50 ms2.25 MB
Dapper_E2E200024.35 ms23.85 ms29.18 ms9.06 MB
LinqToDB_E2E200025.35 ms25.39 ms29.05 ms8.89 MB
JASE_E2E200025.44 ms25.58 ms30.36 ms8.87 MB
RepoDb_E2E200025.62 ms25.53 ms31.96 ms8.89 MB
EF_E2E200026.47 ms25.67 ms33.28 ms9.27 MB
Dapper_E2E500042.36 ms40.74 ms52.51 ms22.71 MB
JASE_E2E500042.46 ms41.32 ms47.27 ms22.16 MB
RepoDb_E2E500043.23 ms42.94 ms47.94 ms22.27 MB
LinqToDB_E2E500044.90 ms43.92 ms53.13 ms22.25 MB
EF_E2E500045.58 ms44.93 ms52.10 ms23.17 MB

MaterializeOnly (JASE vs Dapper) ​

MethodCountMeanMedianP95Allocated
Dapper_MaterializeOnly5002.61 ms2.58 ms3.07 ms2.25 MB
JASE_MaterializeOnly5003.04 ms3.00 ms4.11 ms2.21 MB
JASE_MaterializeOnly200013.77 ms13.36 ms19.99 ms8.84 MB
Dapper_MaterializeOnly200014.53 ms12.83 ms26.93 ms9.02 MB
JASE_MaterializeOnly500033.28 ms32.71 ms39.94 ms22.12 MB
Dapper_MaterializeOnly500033.59 ms31.25 ms49.80 ms22.58 MB

Read of results ​

  • MaterializeOnly at 2k/5k: JASE and Dapper are within noise of each other (JASE slightly ahead on mean).
  • E2E at 2k/5k: same story — all ORMs clustered; JASE ≈ Dapper.
  • 500-row E2E: DB/network noise dominates; do not over-interpret ranking.
  • Allocations: JASE is competitive and often best/near-best.

These numbers support a parity claim with Dapper on wide GetList, not a “we beat everyone” claim.