From 0b15c0849316b7ab0e51ca6a839751fba1cc91a6 Mon Sep 17 00:00:00 2001 From: 28810 <28810@YEXIANGQIN> Date: Sat, 26 Jan 2019 00:26:41 +0800 Subject: [PATCH] update --- 性能.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/性能.md b/性能.md index 87f672e..77bc247 100644 --- a/性能.md +++ b/性能.md @@ -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\ VS FreeSql.Query\ | 131072 | 623.4959ms | 647.0552ms | | +| Dapper.Query\ VS FreeSql.Query\| 131072 | 424.2411ms | 577.3532ms | | +| Dapper.Query\ VS FreeSql.Query\ | 131072 | 644.8897ms | 944.7454ms | (不推使用) | +| Dapper.Query\ 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\ VS FreeSql.Query\ ```csharp [Fact] @@ -60,7 +60,7 @@ public void QueryEntity() { } ``` -### 执行SQL返回元组列表 +### 执行SQL返回元组列表 Dapper.Query\ VS FreeSql.Query\ ```csharp [Fact] @@ -83,7 +83,7 @@ public void QueryTuple() { } ``` -### 执行SQL返回dynamic列表 +### 执行SQL返回dynamic列表 Dapper.Query\ VS FreeSql.Query\ ```csharp [Fact]