DapperLib / DapperAOT

Build time tools in the flavor of Dapper
Other
359 stars 19 forks source link

Add Docker container for MSSQL for Linux #3

Closed khalidabuhakmeh closed 3 years ago

khalidabuhakmeh commented 3 years ago

This let's folks run the benchmark regardless of their host operating system. Previously it was SQLExpress.

🐳

khalidabuhakmeh commented 3 years ago

My benchmarks for funnzies.

// Summary

BenchmarkDotNet=v0.12.1, OS=macOS 11.3.1 (20E241) [Darwin 20.4.0] Intel Core i7-9750H CPU 2.60GHz, 1 CPU, 12 logical and 6 physical cores .NET Core SDK=6.0.100-preview.3.21202.5 [Host] : .NET Core 5.0.4 (CoreCLR 5.0.421.11614, CoreFX 5.0.421.11614), X64 RyuJIT .NET Core 5.0 : .NET Core 5.0.4 (CoreCLR 5.0.421.11614, CoreFX 5.0.421.11614), X64 RyuJIT

Job=.NET Core 5.0 Runtime=.NET Core 5.0

Method Mean Error StdDev Median Gen 0 Gen 1 Gen 2 Allocated
DapperSystemData 1.293 ms 0.0258 ms 0.0378 ms 1.293 ms - - - 3.63 KB
DapperMicrosoftData 1.343 ms 0.0304 ms 0.0822 ms 1.330 ms - - - 3.75 KB
DapperAOTSystemData 1.549 ms 0.1045 ms 0.2930 ms 1.449 ms - - - 2.06 KB
DapperAOTMicrosoftData 1.373 ms 0.0299 ms 0.0839 ms 1.366 ms - - - 1.97 KB
khalidabuhakmeh commented 3 years ago

Ah! I was too slow. I'm going to close this PR and submit another PR. Seems some of the structure changed in the file and rebasing seem like a PITA.