我可以使用哪些工具来确定应用程序的硬件要求? [英] What tools can I use to determine the hardware requirements of my application?

查看:83
本文介绍了我可以使用哪些工具来确定应用程序的硬件要求?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于普通读者:saga™继续...

我的应用程序在我的开发机器上运行良好-开发机器(5年前购买)是相当不错的游戏装备.因此,它是64位的,具有2.2GHz的时钟速度,并具有2GB的内存.

My app runs fine on my development machine - which was purchased (5 years ago) as a fairly good gaming rig. As such, it's 64bit, has a 2.2GHz clock-speed and has 2GB of memory.

正在运行的计算机是标准的Dell发行办公计算机,甚至很难启动我的应用程序,更不用说运行它了.

The machines at work however, are standard Dell issue office computers and really struggle to even start my app, let alone run it.

(说明...我可以想象人们对我大喊:到底在做什么,需要这样的规范?"嗯,我正在做大量的实时图像分析和音频生成.)

我们的团队有预算购买可运行的专用笔记本电脑(需要便携式).因此,现在我的任务是生成最低要求的规格.

Our team has the budget to buy a dedicated laptop (needs to be portable) to run it on. So now I've been tasked with generating a minimum required spec.

我可以使用哪些工具来确定能够舒适地运行我的应用程序的最低规格?

What tools can I use to determine the lowest spec capable of comfortably running my app?

更新:到目前为止的答案虽然有用,但更多地侧重于分析的替代方法.因此,我提出了一项悬赏计划,以查看是否有任何软件可以执行此类操作.

Update: The answers so far, whilst useful, focus more on alternatives to profiling. So I've put up a bounty to see if there is any software that'll do this sort of thing.

推荐答案

您可以使用优质的分析器吗?我认为了解您应用程序中的性能瓶颈是值得的.如果事实证明您的应用程序是受CPU限制的,那么您显然会考虑在高端处理器上大量使用.应用程序是多线程的吗?如果是这样,您的应用程序是利用多个处理器还是因为同步而被序列化?

Do you have access to a good profiler? I think it would be worthwhile to understand the performance bottlenecks in your application. If it turns out that your application is CPU bound, then you'll obviously want to consider splurging on a high-end processor. Is the application multi-threaded? If so, is your application taking advantage of multiple processors or is it getting serialized because of synchronization?

如果应用程序是IO绑定的,也许您应该改为考虑获取SSD驱动器.

If the application is IO bound, perhaps you should instead consider getting an SSD drive.

也许应用程序花费太多时间进行分页?等等...

Perhaps the app is spending too much time paging? etc...

如果您可以访问Visual Studio 2010 Ultimate,则建议您查看并发性探查器.它将帮助您可视化程序中正在发生的事情,并确定性能瓶颈.它会向您显示您的应用程序在哪里花费时间:等待IO,内存管理等.虽然此工具肯定不会告诉您最低硬件要求是什么,但它应该可以让您很好地了解哪些硬件需要改进将有助于您的应用程序更好地运行..如果您没有VS2010,则可以使用任何良好的分析器进行类似的分析.关于Concurrency Visualizer的一件很酷的事情是,它专注于暴露并发和多线程性能问题.

If you have access to Visual Studio 2010 Ultimate, I'd recommend checking out the Concurrency Profiler. It will help you visualize what's happening in your program and identify the performance bottlenecks. It will show you where your app is spending time: waiting on IO, memory management, etc. While this tool certainly won't tell you what the minimum hardware requirements are, it should give you a good idea of what hardware improvements will help your app perform better. If you don't have VS2010, you could probably conduct a similar analysis with any good profiler. The cool thing about the Concurrency Visualizer is that it focuses on exposing concurrent and multi-threaded performance problems.

这篇关于我可以使用哪些工具来确定应用程序的硬件要求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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