[UWP]类似机器上的应用程序速度差异很大 [英] [UWP] Vastly different app speeds on similar machines

查看:59
本文介绍了[UWP]类似机器上的应用程序速度差异很大的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这听起来像是一个关于UWP应用程序在不同机器上的性能的明显问题,显然每个设备的规格都是一个很大的因素....但是让我概述一下我的情况。

This sounds like an obvious question about UWP app performance on different machines, clearly spec of each device is a huge factor.... however let me outline my case.

我有一个与服务器通信的应用程序,一个函数执行一些基本的http通信并解析一些JSON数据。

I have an app that communicates to a server, one function performs some basic http comms and parses some JSON data.

在Surface Pro 4上(i5,8GB,有线以太网通过表面集线器)填充项目列表需要大约1秒,这非常好。

On the Surface Pro 4 (i5, 8GB,  wired ethernet via surface hub) it takes ~1s to populate the projects list, this is perfectly fine.

然后我在桌面上测试了它(这是一个高规格i7,32GB,2x 1080ti,有线以太网,机器的野兽)。该应用程序的其余部分绝对苍蝇,超级流畅和响应(比SP4更多的方式)...没有什么不寻常的,但http呼叫永远需要
,〜20秒。

I then tested it on my desktop (which is a high spec i7, 32GB, 2x 1080ti, wired ethernet, beast of a machine). The rest of the app absolutely flies, super smooth and responsive (way more than the SP4)... nothing unusual there, however the http calls take forever, ~20s.

另一台台式机(i3,32GB,1050ti,有线以太网)在http呼叫上也表现不佳。同样,应用程序的其余部分比SP4更快。

Another desktop machine (i3, 32GB, 1050ti, wired ethernet) also performs badly on http calls. Again, the rest of the app is faster than the SP4.

在Surface Pro 4(i5,8GB,通过wifi)上,填充项目列表只需要约1秒。

On the Surface Pro 4 (i5, 8GB,  via wifi) it still only takes ~1s to populate the projects list.

所有机器都在同一个网络上,千兆交换机,速度测试显示> 70Mbps互联网连接。我看不出任何理由导致大量的http性能差距......

All machines are on the same network, gigabit switches, speed test shows >70Mbps internet connection. I can't see any reason for the massive http performance gap...

推荐答案

你好,

您能否提供有关此部分的详细信息:"执行一些基本的http通信并解析一些JSON数据。"?您还可以在这里检查以太网适配器是否不同?如果可能的话,你最好与我们分享一个repro,这样我们就可以测试
的一些测试机器。

Can you provide details about this part:"performs some basic http comms and parses some JSON data."? Can you also check whether ethernet adapter are different here? If possible you'd better share us a repro so that we can give it a test on some test machines.

祝你好运

Barry


这篇关于[UWP]类似机器上的应用程序速度差异很大的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆