Performance profiling a .net website with shared,remote hosting

点点圈 提交于 2019-12-10 12:28:33

问题


Having performance issues with my website. I'm relatively new to .net, although I've learned an awful lot over the last few months!

I posted this question last night

Improving performance when working on Images with ASP.NET in VB

From which a comment was posted which got me thinking, and Googling this morning.

I'm unclear on how I would actually got about 'performance profiling' my site.

I've seen that there are tools built into visual studio if I can replicate the entire site locally, but I can't do that. There are also tools in iis, and this:

http://www.red-gate.com/products/dotnet-development/ants-performance-profiler/index-2?utm_expid=53846-2&source=products-a-page&utm_referrer=http%3A%2F%2Fwww.red-gate.com%2Fproducts%2F

I like the look of the screen shots on the link above, it seems intuitive and easy to understand.

What I am totally unclear on though is, does require direct access to the actual server machine? Or, is it a .net plugin which I can use remotely.

I need this facility because the site is hosted on a shared server which I do not have direct access to.

If this isn't the case, does anyone have any suggestions as to how to go about finding bottlenecks in my code, remotely?


回答1:


Quickest way I know is to install FireBug for Mozilla Firefox and take a look at the net tab while the page is loading. This displays a clear timeline of server calls and loading time taken. https://getfirebug.com/

Taking a quick look at your site with Firebug shows each image taking nearly a second to load for me. It could be that your ISP is just slow, who are you hosting with?



来源:https://stackoverflow.com/questions/11070617/performance-profiling-a-net-website-with-shared-remote-hosting

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!