Skip to content

Update benchmarks with latest results. - #2016

Merged
mgravell merged 2 commits into
DapperLib:mainfrom
kant2002:kant/update-benchmarks
Dec 18, 2023
Merged

Update benchmarks with latest results.#2016
mgravell merged 2 commits into
DapperLib:mainfrom
kant2002:kant/update-benchmarks

Conversation

@kant2002

@kant2002kant2002 commented Dec 18, 2023

Copy link
Copy Markdown
Contributor
BenchmarkDotNet v0.13.7, Windows 10 (10.0.19045.3693/22H2/2022Update)
Intel Core i7-3630QM CPU 2.40GHz (Ivy Bridge), 1 CPU, 8 logical and 4 physical cores
.NET SDK 8.0.100
[Host] : .NET 8.0.0 (8.0.23.53103), X64 RyuJIT AVX
ShortRun : .NET 8.0.0 (8.0.23.53103), X64 RyuJIT AVX
ORMMethodReturnMeanStdDevErrorGen0Gen1Gen2Allocated
Dapper cache impactQueryFirstParameters_CacheVoid104.0 us0.64 us0.97 us0.8750--2824 B
Dapper cache impactExecuteParameters_CacheVoid106.6 us1.24 us2.08 us0.6250--2184 B
Hand CodedSqlCommandPost129.1 us0.60 us0.91 us1.25001.0000-7584 B
Hand CodedDataTabledynamic133.4 us1.55 us2.34 us3.0000--9576 B
SqlMarshalSqlCommandPost141.9 us2.56 us3.88 us1.75001.5000-11529 B
LINQ to DBQueryPost144.3 us2.14 us3.24 us1.75001.2500-10904 B
MightySingleFromQueryPost144.5 us1.30 us2.19 us2.25001.2500-12201 B
MightySingleFromQuerydynamic145.5 us2.50 us3.79 us2.00001.7500-12710 B
MightyQuerydynamic146.3 us1.38 us2.32 us2.00001.7500-12710 B
Dapper'Query (buffered)'dynamic148.4 us1.19 us2.00 us2.00001.5000-11968 B
MightyQueryPost149.1 us2.63 us3.98 us1.75001.5000-12201 B
LINQ to DB'First (Compiled)'Post150.1 us1.97 us3.31 us2.00001.5000-12128 B
DapperQueryFirstOrDefaultdynamic151.0 us5.48 us8.29 us3.5000--11648 B
ServiceStackSingleByIdPost154.1 us2.24 us3.38 us2.50001.25000.250015248 B
DapperQueryFirstOrDefaultPost154.9 us4.10 us6.20 us1.75001.5000-11608 B
Norm'Read<> (tuples)'ValueTuple`8157.2 us3.16 us5.31 us2.00001.7500-12745 B
Dapper'Contrib Get'Post157.9 us3.14 us4.75 us2.00001.5000-12440 B
Norm'Read<()> (named tuples)'ValueTuple`8163.3 us1.03 us1.56 us2.25002.00001.250014562 B
Dapper cache impactExecuteNoParameters_CacheVoid177.0 us6.37 us9.64 us---760 B
Dapper cache impactQueryFirstNoParameters_NoCacheVoid177.6 us2.62 us3.96 us0.5000--1576 B
DevExpress.XPOFindObjectPost182.0 us3.41 us5.73 us8.5000--28099 B
LINQ to DBFirstPost183.3 us5.28 us7.98 us2.50001.5000-14041 B
EF 6SqlQueryPost185.9 us3.08 us4.66 us4.50000.5000-24210 B
Dapper cache impactExecuteNoParameters_NoCacheVoid187.5 us3.17 us4.80 us---760 B
Dapper cache impactQueryFirstNoParameters_CacheVoid187.6 us7.54 us11.40 us---1520 B
DevExpress.XPOGetObjectByKeyPost188.0 us2.66 us4.46 us4.50001.0000-30114 B
Norm'Read<> (class)'Post199.9 us1.98 us3.79 us3.00000.5000-17579 B
Dapper'Query (unbuffered)'dynamic204.3 us2.79 us4.22 us1.50001.0000-12048 B
NHibernateHQLPost239.4 us6.76 us10.21 us6.50000.5000-31885 B
NHibernateGetPost247.1 us6.55 us9.91 us6.00000.5000-29885 B
EF 6FirstPost297.6 us28.83 us48.45 us13.0000--43309 B
NHibernateCriteriaPost300.1 us13.37 us25.57 us14.00001.0000-57562 B
EF Core'First (No Tracking)'Post314.2 us43.80 us73.60 us3.00001.0000-17987 B
EF CoreFirstPost319.8 us32.72 us54.99 us3.0000--11306 B
EF 6'First (No Tracking)'Post327.2 us33.05 us55.54 us12.00001.0000-50237 B
NHibernateSQLPost327.7 us16.66 us28.00 us21.00001.0000-80007 B
EF CoreSqlQueryPost334.2 us33.86 us56.90 us5.0000--18195 B
BelgradeFirstOrDefaultTask`1384.4 us20.30 us34.11 us4.00001.0000-20556 B
Dapper cache impactQueryFirstParameters_NoCacheVoid677.3 us5.55 us8.40 us3.00002.0000-10640 B
NHibernateLINQPost936.0 us168.35 us254.52 us10.0000--46181 B
Dapper cache impactExecuteParameters_NoCacheVoid986.8 us198.13 us299.55 us3.00002.0000-10001 B

Comment threadbenchmarks/Dapper.Tests.Performance/Benchmarks.RepoDB.cs Outdated
@mgravell
mgravell merged commit 4160c9f into DapperLib:mainDec 18, 2023
@kant2002
kant2002 deleted the kant/update-benchmarks branch December 18, 2023 12:22
Lulalaby referenced this pull request in Fortunevale/ProjectMakoto Jan 2, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [Dapper](https://togithub.com/DapperLib/Dapper) | `2.1.24` -> `2.1.28`
|
[![age](https://developer.mend.io/api/mc/badges/age/nuget/Dapper/2.1.28?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/Dapper/2.1.28?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/Dapper/2.1.24/2.1.28?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/Dapper/2.1.24/2.1.28?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>DapperLib/Dapper (Dapper)</summary>
###
[`v2.1.28`](https://togithub.com/DapperLib/Dapper/releases/tag/2.1.28)
[Compare
Source](https://togithub.com/DapperLib/Dapper/compare/2.1.24...2.1.28)
#### What's Changed
- Fix codegen error in value-type multimap
[#&#8203;2005](https://togithub.com/DapperLib/Dapper/issues/2005) by
[@&#8203;mgravell](https://togithub.com/mgravell) in
[https://github.com/DapperLib/Dapper/pull/2022](https://togithub.com/DapperLib/Dapper/pull/2022)
- Fixed documentation to read better by
[@&#8203;0nly1ken0bi](https://togithub.com/0nly1ken0bi) in
[https://github.com/DapperLib/Dapper/pull/2008](https://togithub.com/DapperLib/Dapper/pull/2008)
- Fixed comments by [@&#8203;ronwarner](https://togithub.com/ronwarner)
in
[https://github.com/DapperLib/Dapper/pull/2010](https://togithub.com/DapperLib/Dapper/pull/2010)
- Update benchmarks with latest results. by
[@&#8203;kant2002](https://togithub.com/kant2002) in
[https://github.com/DapperLib/Dapper/pull/2016](https://togithub.com/DapperLib/Dapper/pull/2016)
#### New Contributors
- [@&#8203;0nly1ken0bi](https://togithub.com/0nly1ken0bi) made their
first contribution in
[https://github.com/DapperLib/Dapper/pull/2008](https://togithub.com/DapperLib/Dapper/pull/2008)
- [@&#8203;ronwarner](https://togithub.com/ronwarner) made their first
contribution in
[https://github.com/DapperLib/Dapper/pull/2010](https://togithub.com/DapperLib/Dapper/pull/2010)
**Full Changelog**:
DapperLib/Dapper@2.1.24...2.1.28
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Fortunevale/ProjectMakoto).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoiZGV2In0=-->
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@kant2002@mgravell