分析ASP。NET网站与EQATEC剖析器

时间:2022-08-10 03:21:58

I'm searching for a free ASP.NET profiler, and I stumbled upon EQATEC Profiler for .NET, but I can't find any instructions on how to profile ASP.NET projects with it. Please post step-by-step instructions or a link with sufficient info.

我正在寻找一个免费的ASP。NET profiler,我偶然发现了。NET的EQATEC profiler,但是我找不到任何关于如何配置ASP的说明。网络项目。请发布一步一步的指导或足够的信息的链接。

I'm using Visual Studio 2008 Professional and .NET 3.5.

我使用的是Visual Studio 2008 Professional和。net 3.5。

4 个解决方案

#1


64  

It looks like they have changed their user interface since Pavel's instructions were posted. Here are the instructions I wrote up for my team. They replace steps 4-8 in Pavel's post.

自从Pavel的说明发布后,看起来他们已经改变了他们的用户界面。这是我为我的团队写的说明。他们取代了帕维尔的第4-8步。

To profile an ASP.NET application using EQATEC, just select the application’s bin folder in the App Path setting:

要分析一个ASP。NET应用使用EQATEC,在应用路径设置中选择应用程序的bin文件夹:

App Path http://img191.imageshack.us/img191/9776/eqatecstep1.png

http://img191.imageshack.us/img191/9776/eqatecstep1.png应用程序路径

Then, click the Build button at the bottom of the form:

然后点击表单底部的Build按钮:

Build Button http://img339.imageshack.us/img339/6487/eqatecstep2.png

建立按钮http://img339.imageshack.us/img339/6487/eqatecstep2.png

Then, load your app and go to the page you want to profile. Go to the Run tab and click the Reset Counters button:

然后,加载你的应用程序,进入你想要配置的页面。转到Run选项卡,点击重置计数器按钮:

Reset Counters http://img192.imageshack.us/img192/8250/eqatecstep3.png

重置计数器http://img192.imageshack.us/img192/8250/eqatecstep3.png

Then, do the action that you want to profile. When it’s done, click the Take Snapshot button:

然后,执行您想要配置的操作。完成后,点击Take Snapshot键:

Take Snapshot http://img706.imageshack.us/img706/9778/eqatecstep4.png

采取快照http://img706.imageshack.us/img706/9778/eqatecstep4.png

When that is done, a snapshot report will appear in the bottom list. You can double-click on it to view it:

完成后,快照报告将出现在底部列表中。你可以双击它查看:

View Report http://img263.imageshack.us/img263/4561/eqatecstep5.png

视图报告http://img263.imageshack.us/img263/4561/eqatecstep5.png

#2


44  

This should work for ASP.NET web projects:

这应该对ASP有用。NET web项目:

  1. Compile your project.
  2. 编译您的项目。
  3. Start web application. You can right-click on some .aspx file in Visual Studio and select "View in Browser". (If you start your application later you risk overwriting profiled DLL.)
  4. 启动web应用程序。您可以在Visual Studio中右键单击一些.aspx文件并选择“浏览器中的视图”。(如果您稍后启动应用程序,您可能会覆盖已归档的DLL。)
  5. Start EQATEC Profiler.
  6. 开始EQATEC分析器。
  7. On the Build tab browse to bin folder of your project.
  8. 在Build选项卡上浏览到项目的bin文件夹。
  9. Click “App options” button
    • Set output folder to $(AppDir) only.
    • 将输出文件夹设置为$(AppDir)。
    • Uncheck “Ordinary app”.
    • 取消“普通应用程序”。
  10. 单击“App options”按钮将输出文件夹设置为$(AppDir)。取消“普通应用程序”。
  11. Click Build button.
  12. 单击Build按钮。
  13. Switch to your favourite browser. Navigate to the page you want to profile. You should get "Profiled app started" entry in Run tab in EQATEC Profiler.
  14. 切换到你最喜欢的浏览器。导航到要配置的页面。您应该在EQATEC剖析器的Run选项卡中获得“已启动的应用程序”条目。
  15. Click "Take snapshot" button. A new entry should appear in "View snapshot reports" list. Select it and click View button.
  16. 点击“快照”按钮。一个新的条目应该出现在“查看快照报告”列表中。选择它并单击View按钮。

Edit: Updated instructions according to comment.

编辑:根据注释更新指令。

#3


7  

From the EQATEC forums:

从EQATEC论坛:

#4


1  

You may need to get a compiled version of your site (is there a dll for the site in the bin folder or just the dependencies?). The easiest way to do this is to publish it. (Just right hand click the site in Visual Studio). Then Pavel's answer will work just fine.

您可能需要获得一个已编译版本的站点(bin文件夹中是否有一个站点的dll或仅仅依赖项?)最简单的方法是发布它。(用右手点击Visual Studio中的站点)。那么帕维尔的回答就会很好。

#1


64  

It looks like they have changed their user interface since Pavel's instructions were posted. Here are the instructions I wrote up for my team. They replace steps 4-8 in Pavel's post.

自从Pavel的说明发布后,看起来他们已经改变了他们的用户界面。这是我为我的团队写的说明。他们取代了帕维尔的第4-8步。

To profile an ASP.NET application using EQATEC, just select the application’s bin folder in the App Path setting:

要分析一个ASP。NET应用使用EQATEC,在应用路径设置中选择应用程序的bin文件夹:

App Path http://img191.imageshack.us/img191/9776/eqatecstep1.png

http://img191.imageshack.us/img191/9776/eqatecstep1.png应用程序路径

Then, click the Build button at the bottom of the form:

然后点击表单底部的Build按钮:

Build Button http://img339.imageshack.us/img339/6487/eqatecstep2.png

建立按钮http://img339.imageshack.us/img339/6487/eqatecstep2.png

Then, load your app and go to the page you want to profile. Go to the Run tab and click the Reset Counters button:

然后,加载你的应用程序,进入你想要配置的页面。转到Run选项卡,点击重置计数器按钮:

Reset Counters http://img192.imageshack.us/img192/8250/eqatecstep3.png

重置计数器http://img192.imageshack.us/img192/8250/eqatecstep3.png

Then, do the action that you want to profile. When it’s done, click the Take Snapshot button:

然后,执行您想要配置的操作。完成后,点击Take Snapshot键:

Take Snapshot http://img706.imageshack.us/img706/9778/eqatecstep4.png

采取快照http://img706.imageshack.us/img706/9778/eqatecstep4.png

When that is done, a snapshot report will appear in the bottom list. You can double-click on it to view it:

完成后,快照报告将出现在底部列表中。你可以双击它查看:

View Report http://img263.imageshack.us/img263/4561/eqatecstep5.png

视图报告http://img263.imageshack.us/img263/4561/eqatecstep5.png

#2


44  

This should work for ASP.NET web projects:

这应该对ASP有用。NET web项目:

  1. Compile your project.
  2. 编译您的项目。
  3. Start web application. You can right-click on some .aspx file in Visual Studio and select "View in Browser". (If you start your application later you risk overwriting profiled DLL.)
  4. 启动web应用程序。您可以在Visual Studio中右键单击一些.aspx文件并选择“浏览器中的视图”。(如果您稍后启动应用程序,您可能会覆盖已归档的DLL。)
  5. Start EQATEC Profiler.
  6. 开始EQATEC分析器。
  7. On the Build tab browse to bin folder of your project.
  8. 在Build选项卡上浏览到项目的bin文件夹。
  9. Click “App options” button
    • Set output folder to $(AppDir) only.
    • 将输出文件夹设置为$(AppDir)。
    • Uncheck “Ordinary app”.
    • 取消“普通应用程序”。
  10. 单击“App options”按钮将输出文件夹设置为$(AppDir)。取消“普通应用程序”。
  11. Click Build button.
  12. 单击Build按钮。
  13. Switch to your favourite browser. Navigate to the page you want to profile. You should get "Profiled app started" entry in Run tab in EQATEC Profiler.
  14. 切换到你最喜欢的浏览器。导航到要配置的页面。您应该在EQATEC剖析器的Run选项卡中获得“已启动的应用程序”条目。
  15. Click "Take snapshot" button. A new entry should appear in "View snapshot reports" list. Select it and click View button.
  16. 点击“快照”按钮。一个新的条目应该出现在“查看快照报告”列表中。选择它并单击View按钮。

Edit: Updated instructions according to comment.

编辑:根据注释更新指令。

#3


7  

From the EQATEC forums:

从EQATEC论坛:

#4


1  

You may need to get a compiled version of your site (is there a dll for the site in the bin folder or just the dependencies?). The easiest way to do this is to publish it. (Just right hand click the site in Visual Studio). Then Pavel's answer will work just fine.

您可能需要获得一个已编译版本的站点(bin文件夹中是否有一个站点的dll或仅仅依赖项?)最简单的方法是发布它。(用右手点击Visual Studio中的站点)。那么帕维尔的回答就会很好。