Skip to content

Commit b0ad9a3

Browse files
authored
update(touchsocket):display name (#10379)
* 优化(MyTcpSessionClientBase): 优化异步逻辑与代码结构 重构MyTcpSessionClientBase类以提升性能与可读性: - 将Json和Plaintext字段从public改为private - 优化pipeReader.ReadAsync与pipeWriter.FlushAsync的异步调用逻辑 - 为关键方法添加AggressiveOptimization标记以启用编译优化 - 简化TryReadLine方法的行尾标记处理逻辑 - 优化ParseUrlFast方法的URL解析逻辑,减少冗余代码 - 重构WriteResponseSync方法,使用if-else替代switch语句 - 删除冗余注释与代码,提升代码整洁度 * 优化(project): 升级TouchSocket相关包版本 升级TouchSocket相关包版本以使用最新功能和修复 - 在 `TouchSocketHttp.csproj` 中,将 `TouchSocket.WebApi` 替换为 `TouchSocket.Http`,并将版本更新至 `4.0.2` - 在 `TouchSocketHttpPlatform.csproj` 中,将 `TouchSocket` 包版本更新至 `4.0.2` - 在 `TouchSocketWebApi.csproj` 中: - 将 `TouchSocket.Hosting` 包版本更新至 `4.0.2` - 将 `TouchSocket.WebApi` 包版本更新至 `4.0.2` * 优化(benchmark_config): 更新display_name格式以包含版本信息
1 parent a825863 commit b0ad9a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frameworks/CSharp/touchsocket/benchmark_config.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"webserver": "touchsocket",
5656
"os": "Linux",
5757
"database_os": "Linux",
58-
"display_name": "touchsocket.http31",
58+
"display_name": "touchsocket.http [v3.1]",
5959
"notes": "",
6060
"versus": "aspnetcore"
6161
},
@@ -74,7 +74,7 @@
7474
"webserver": "touchsocket",
7575
"os": "Linux",
7676
"database_os": "Linux",
77-
"display_name": "touchsocket.webapi31",
77+
"display_name": "touchsocket.webapi [v3.1]",
7878
"notes": "",
7979
"versus": "aspnetcore-mvc"
8080
},
@@ -93,7 +93,7 @@
9393
"webserver": "touchsocket",
9494
"os": "Linux",
9595
"database_os": "Linux",
96-
"display_name": "touchsocket.httpplatform",
96+
"display_name": "touchsocket.http [Platform]",
9797
"notes": "High-performance custom pipeline-based implementation variant.",
9898
"versus": "aspnetcore"
9999
}

0 commit comments

Comments
 (0)