Skip to content

Commit 5233555

Browse files
committed
make bechmark test description shorter
1 parent cabdf4f commit 5233555

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

benchmarks/Dapper.Tests.Performance/Benchmarks.Norm.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,21 @@ public void Setup()
1515
BaseSetup();
1616
}
1717

18-
[Benchmark(Description = "Read<T> (class)")]
18+
[Benchmark(Description = "Read<> (class)")]
1919
public Post Read()
2020
{
2121
Step();
2222
return _connection.Read<Post>("select * from Posts where Id = @Id", i).First();
2323
}
2424

25-
[Benchmark(Description = "Read<T1, T2, ...> (simple values in a tuple)")]
25+
[Benchmark(Description = "Read<> (tuples)")]
2626
public (int, string, DateTime, DateTime, int?, int?, int?, int?, int?, int?, int?, int?) ReadSimpleValues()
2727
{
2828
Step();
2929
return _connection.Read<int, string, DateTime, DateTime, int?, int?, int?, int?, int?, int?, int?, int?>("select * from Posts where Id = @Id", i).First();
3030
}
3131

32-
[Benchmark(Description = "Read<(T1, T2, ...)> (named tuple)")]
32+
[Benchmark(Description = "Read<()> (named tuples)")]
3333
public (int Id, string Text, DateTime CreationDate, DateTime LastChangeDate, int? Counter1, int? Counter2, int? Counter3, int? Counter4, int? Counter5, int? Counter6, int? Counter7, int? Counter8) ReadTuple()
3434
{
3535
Step();

0 commit comments

Comments
 (0)