BenchmarkDotNet=v0.12.1, OS=Windows 10.0.19042
Intel Core i7-8700K CPU 3.70GHz (Coffee Lake), 1 CPU, 12 logical and 6 physical cores
.NET Core SDK=5.0.101
  [Host]     : .NET Core 5.0.1 (CoreCLR 5.0.120.57516, CoreFX 5.0.120.57516), X64 RyuJIT
  Job-NNXSUN : .NET Core 5.0.1 (CoreCLR 5.0.120.57516, CoreFX 5.0.120.57516), X64 RyuJIT
  Job-TKOLIA : .NET Core 5.0.1 (CoreCLR 5.0.120.57516, CoreFX 5.0.120.57516), X64 RyuJIT
  Job-FDOYXC : .NET Core 5.0.1 (CoreCLR 5.0.120.57516, CoreFX 5.0.120.57516), X64 RyuJIT
Type Method MeanStdDev Error Op/sRatioOp/InvokeGen 0Gen 1Gen 2Allocated
InsertOrIgnoreScrobbleData'Generic DbCommand (tuples)'29,268.7 ns2,725.43 ns4,120.47 ns34,166.10.961000---6186 B
InsertOrIgnoreScrobbleData'Generic DbCommand (arrays)'30,615.5 ns3,310.11 ns5,004.42 ns32,663.11.0010001.0000--6276 B
InsertOrIgnoreScrobbleData'Generic bulk (tuples)'33,330.7 ns2,577.40 ns3,896.66 ns30,002.41.0910001.00001.0000-7948 B
InsertOrIgnoreScrobbleData'Generic loop'53,518.0 ns10,783.29 ns16,302.79 ns18,685.31.7410001.00001.0000-9605 B
InsertOrIgnoreScrobbleDataMulti-values181,106.6 ns2,276.82 ns3,826.05 ns5,521.65.8910001.00001.0000-7177 B
InsertOrIgnoreScrobbleDataCTE294,419.3 ns1,635.74 ns2,748.75 ns3,396.59.571000---5313 B
SelectArtist'EF Core query (compiled)'662.8 ns28.74 ns10.02 ns1,508,855.20.852500---307 B
SelectArtist'EF Core query'664.7 ns58.65 ns21.04 ns1,504,537.70.862500---308 B
SelectArtist'Dapper query'782.8 ns13.94 ns5.09 ns1,277,425.71.002500---225 B
InsertArtist'Hard-coded bulk'3,356.5 ns114.32 ns102.85 ns297,925.91.002500---683 B
InsertArtist'Hard-coded loop'7,607.0 ns118.69 ns110.92 ns131,457.32.272500---1403 B
InsertArtist'EF Core'59,121.3 ns939.94 ns878.46 ns16,914.417.6825002.00000.4000-14225 B
InsertOrIgnoreArtist'Generic DbCommand (arrays)'2,649.1 ns35.27 ns32.96 ns377,484.01.005000---628 B
InsertOrIgnoreArtist'Generic DbCommand (tuples)'2,684.3 ns62.31 ns58.23 ns372,532.11.015000---596 B
InsertOrIgnoreArtist'Hard-coded bulk'2,724.1 ns38.56 ns37.55 ns367,088.21.035000---683 B
InsertOrIgnoreArtist'Generic bulk (arrays)'3,664.8 ns164.18 ns142.56 ns272,868.61.385000---1076 B
InsertOrIgnoreArtist'Generic bulk (tuples)'3,707.9 ns46.79 ns47.64 ns269,695.71.405000---1212 B
InsertOrIgnoreArtist'Hard-coded loop'7,550.8 ns117.75 ns110.05 ns132,435.52.8550000.2000--1435 B
InsertOrIgnoreArtist'Generic loop (DynamicParameters)'9,783.4 ns260.51 ns234.37 ns102,213.53.6950000.2000--1971 B
InsertOrIgnoreArtist'Generic loop'9,787.9 ns269.94 ns242.86 ns102,167.13.7050000.2000--1979 B
InsertOrIgnoreArtist'EF Core'40,243.7 ns609.80 ns548.63 ns24,848.615.2150001.40000.4000-9099 B
InsertOrIgnoreArtistMulti-values91,126.3 ns439.29 ns395.22 ns10,973.834.415000---905 B
InsertOrIgnoreArtistCTE91,619.0 ns449.17 ns437.40 ns10,914.834.625000---905 B