Commit 17ffdc24 authored by Andrey Dorokhov's avatar Andrey Dorokhov Committed by Nick Craver

Fix benchmark description typos (#932)

parent a213b2ae
...@@ -19,7 +19,7 @@ public Post QueryBuffered() ...@@ -19,7 +19,7 @@ public Post QueryBuffered()
return _connection.Query<Post>("select * from Posts where Id = @Id", new { Id = i }, buffered: true).First(); return _connection.Query<Post>("select * from Posts where Id = @Id", new { Id = i }, buffered: true).First();
} }
[Benchmark(Description = "Query<dyanmic> (buffered)")] [Benchmark(Description = "Query<dynamic> (buffered)")]
public dynamic QueryBufferedDynamic() public dynamic QueryBufferedDynamic()
{ {
Step(); Step();
...@@ -33,7 +33,7 @@ public Post QueryUnbuffered() ...@@ -33,7 +33,7 @@ public Post QueryUnbuffered()
return _connection.Query<Post>("select * from Posts where Id = @Id", new { Id = i }, buffered: false).First(); return _connection.Query<Post>("select * from Posts where Id = @Id", new { Id = i }, buffered: false).First();
} }
[Benchmark(Description = "Query<dyanmic> (unbuffered)")] [Benchmark(Description = "Query<dynamic> (unbuffered)")]
public dynamic QueryUnbufferedDynamic() public dynamic QueryUnbufferedDynamic()
{ {
Step(); Step();
...@@ -47,7 +47,7 @@ public Post QueryFirstOrDefault() ...@@ -47,7 +47,7 @@ public Post QueryFirstOrDefault()
return _connection.QueryFirstOrDefault<Post>("select * from Posts where Id = @Id", new { Id = i }); return _connection.QueryFirstOrDefault<Post>("select * from Posts where Id = @Id", new { Id = i });
} }
[Benchmark(Description = "QueryFirstOrDefault<dyanmic>")] [Benchmark(Description = "QueryFirstOrDefault<dynamic>")]
public dynamic QueryFirstOrDefaultDynamic() public dynamic QueryFirstOrDefaultDynamic()
{ {
Step(); Step();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment