Files
Nick Craver 0a8fcd9806 Benchmarks v2: BenchmarkDotNet and friends
This is based on BenchmarkDotNet (while preserving the legacy format
with minor improvements as well - legacy runs much faster). See #666 for
details. Not an ominus number at all.

Note: this code will get a bit simpler with BenchmarkDotNet categories,
see https://github.com/dotnet/BenchmarkDotNet/issues/248 for details.
2017-05-11 09:05:25 -04:00

15 lines
386 B
C#

using Soma.Core;
using System;
namespace Dapper.Tests.Performance.Soma
{
internal class SomaConfig : MsSqlConfig
{
public override string ConnectionString => BenchmarkBase.ConnectionString;
public override Action<PreparedStatement> Logger => noOp;
private static readonly Action<PreparedStatement> noOp = x => { /* nope */ };
}
}