mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-06 16:30:52 +08:00
update
10
性能.md
10
性能.md
@@ -24,11 +24,11 @@ class Song {
|
|||||||
|
|
||||||
## 测试结果
|
## 测试结果
|
||||||
|
|
||||||
| | 数量 | Query\<Class\> | Query\<Tuple\> | Query\<dynamic\> | ToList |
|
| | 数量 | Query\<Class\> | Query\<Tuple\> | Query\<dynamic\> |
|
||||||
| - | - | - | - | - | - |
|
| - | - | - | - | - |
|
||||||
| Dapper | 131072 | 623.4959ms | 424.2411ms | 644.8897ms | - |
|
| Dapper.Query(sql) | 131072 | 623.4959ms | 424.2411ms | 644.8897ms |
|
||||||
| FreeSql | 131072 | 647.0552ms | 577.3532ms | 944.7454ms | 622.8980ms |
|
| FreeSql.Query(sql) | 131072 | 647.0552ms | 577.3532ms | 944.7454ms |
|
||||||
| | | | | (不推荐) | (推荐) |
|
| FreeSql.ToList | 131072 | 622.8980ms | 435.3532ms | - |
|
||||||
|
|
||||||
FreeSql以微小的性能差距输了,原因是支持了更多的类型,某些类型解析需要Parse、递归或循环处理。
|
FreeSql以微小的性能差距输了,原因是支持了更多的类型,某些类型解析需要Parse、递归或循环处理。
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user