mirror of
https://github.com/DapperLib/Dapper.git
synced 2026-10-29 13:19:20 +08:00
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.
15 lines
386 B
C#
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 */ };
|
|
}
|
|
}
|