update

28810
2019-01-26 00:26:41 +08:00
parent 81645f732d
commit 0b15c08493

@@ -26,10 +26,10 @@ class Song {
| | 数量 | Dapper | FreeSql | |
| - | - | - | - | - |
| [执行SQL返回实体列表](#%e6%89%a7%e8%a1%8cSQL%e8%bf%94%e5%9b%9e%e5%ae%9e%e4%bd%93%e5%88%97%e8%a1%a8) | 131072 | 623.4959ms | 647.0552ms | |
| [执行SQL返回元组列表](#%e6%89%a7%e8%a1%8cSQL%e8%bf%94%e5%9b%9e%e5%85%83%e7%bb%84%e5%88%97%e8%a1%a8) | 131072 | 424.2411ms | 577.3532ms | |
| [执行SQL返回dynamic列表](#%e6%89%a7%e8%a1%8cSQL%e8%bf%94%e5%9b%9edynamic%e5%88%97%e8%a1%a8) | 131072 | 644.8897ms | 944.7454ms | (不推使用) |
| [Dapper.Query VS FreeSql.ToList](#Dapper.Query+VS+FreeSql.ToList) | 131072 | 600.1112ms | 622.8980ms | (使用频率最高)
| Dapper.Query\<Class\> VS FreeSql.Query\<Class\> | 131072 | 623.4959ms | 647.0552ms | |
| Dapper.Query\<Tuple\> VS FreeSql.Query\<Tuple\>| 131072 | 424.2411ms | 577.3532ms | |
| Dapper.Query\<dynamic\> VS FreeSql.Query\<dynamic\> | 131072 | 644.8897ms | 944.7454ms | (不推使用) |
| Dapper.Query\<Class\> VS FreeSql.ToList | 131072 | 600.1112ms | 622.8980ms | (使用频率最高)
FreeSql以微小的性能差距输了原因是支持了更多的类型某些类型解析需要Parse、递归或循环处理。
@@ -37,7 +37,7 @@ FreeSql以微小的性能差距输了原因是支持了更多的类型
> FreeSql批量插入使用的命令INSERT INTO Song (...) VALUES(...),VALUES(...),VALUES(...)...
### 执行SQL返回实体列表
### 执行SQL返回实体列表 Dapper.Query\<Class\> VS FreeSql.Query\<Class\>
```csharp
[Fact]
@@ -60,7 +60,7 @@ public void QueryEntity() {
}
```
### 执行SQL返回元组列表
### 执行SQL返回元组列表 Dapper.Query\<Tuple\> VS FreeSql.Query\<Tuple\>
```csharp
[Fact]
@@ -83,7 +83,7 @@ public void QueryTuple() {
}
```
### 执行SQL返回dynamic列表
### 执行SQL返回dynamic列表 Dapper.Query\<dynamic\> VS FreeSql.Query\<dynamic\>
```csharp
[Fact]