提交 49ece272 编写于 作者: 若汝棋茗

更新性能测试demo

上级 874aa684
......@@ -31,7 +31,7 @@ namespace RpcPerformanceConsoleApp
public static void StartSumClient(int count)
{
XRPCClient client = new XRPCClient("localhost", 9090);
XRPCClient client = new XRPCClient("127.0.0.1", 9090);
client.Options.ParameterFormater = new MsgPacket();//default messagepack
ITestTaskController testController = client.Create<ITestTaskController>();
......@@ -60,7 +60,7 @@ namespace RpcPerformanceConsoleApp
public static void StartGetBytesClient(int count)
{
XRPCClient client = new XRPCClient("localhost", 9090);
XRPCClient client = new XRPCClient("127.0.0.1", 9090);
client.Options.ParameterFormater = new MsgPacket();//default messagepack
ITestTaskController testController = client.Create<ITestTaskController>();
......@@ -90,7 +90,7 @@ namespace RpcPerformanceConsoleApp
public static void StartBigStringClient(int count)
{
XRPCClient client = new XRPCClient("localhost", 9090);
XRPCClient client = new XRPCClient("127.0.0.1", 9090);
client.Options.ParameterFormater = new MsgPacket();//default messagepack
ITestTaskController testController = client.Create<ITestTaskController>();
......
......@@ -11,6 +11,6 @@
<PackageReference Include="BeetleX.XRPC" Version="1.2.0.1802" />
<PackageReference Include="BeetleX.XRPC.Hosting" Version="1.2.0.1802" />
<PackageReference Include="NewLife.Remoting" Version="2.0.2023.203" />
<PackageReference Include="TouchSocket" Version="1.2.3" />
<PackageReference Include="TouchSocket" Version="1.2.17" />
</ItemGroup>
</Project>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册