.exe性能缓慢 [英] Slow .exe Performance

查看:71
本文介绍了.exe性能缓慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从.exe 

I have an application that runs very slowly when ran from the .exe 

当我在Visual Studio中运行它时,性能要好10倍.

The Performance is 10 times better when i run it from within visual studio.

这可能是什么原因?

应用程序本身通过二进制文件中的记录进行解析.

The Application itself parses through records in a binary file.

推荐答案

这似乎不正确.  我要做的第一件事是开始使用Log4Net之类的简单内容进行日志记录.   秒表类  ;是 看看在您的应用程序中处理内容需要多长时间.
That doesn't seem right.  The first thing I would do is start doing some logging with something simple like Log4Net.  Also the Stopwatch Class is really helpful to see how long something takes to process inside your application.


这篇关于.exe性能缓慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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