提交 b968d209 编写于 作者: J Jan Pluskal

Allow simple benchamrk debugging.

上级 a22146e4
......@@ -9,8 +9,18 @@ namespace EFCore.Cassandra.Benchmarks
{
private static async Task Main(string[] args)
{
#if DEBUG
var insertData = new InsertData();
insertData.AddApplicants();
insertData.BulkInsertApplicants();
insertData.AddRangeApplicants();
var batchedInsertData = new BatchedInsertData();
await batchedInsertData.BatchedInsertApplicantsAsync();
#else
BenchmarkRunner.Run<InsertData>();
BenchmarkRunner.Run<BatchedInsertData>();
#endif
}
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册