在哪里可以下载适用于 Windows 8 的 WPF 性能套件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/14469206/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Where can I download WPF Performance Suite for Windows 8
提问by andreas
The WPF Performance Suite is described here:
WPF 性能套件描述如下:
http://msdn.microsoft.com/en-us/library/aa969767.aspx#installing_the_wpf_performance_suite
http://msdn.microsoft.com/en-us/library/aa969767.aspx#installing_the_wpf_performance_suite
-> how can I install it on Windows 8?
-> 如何在 Windows 8 上安装它?
(the Windows 7 SDK can't be installed and the Windows 8 SDK contains Performance tools such as GPUView but not the WPF profilers "Perforator" and "Visual Profiler".
(无法安装 Windows 7 SDK,Windows 8 SDK 包含性能工具,例如 GPUView,但不包含 WPF 分析器“Perforator”和“Visual Profiler”。
I googled several hours for it but didn't find anything.
我用谷歌搜索了几个小时,但没有找到任何东西。
回答by Ian
Ok, I have it running under Windows 8, but afaik only for framework 4.
好的,我让它在 Windows 8 下运行,但仅适用于框架 4。
Download the tools(link borrowed from Athari above)
下载工具(从上面的 Athari 借用的链接)
Install and it test. Select visual profiler and attach to a process. If it doesn't appear to work, download this patch from MS.
安装并测试。选择可视化分析器并附加到进程。如果它似乎不起作用,请从 MS下载此补丁。
After installing the patch I now have it working again. This is on Windows 8 pro running on a Dell XPS 17 i7 based machine.
安装补丁后,我现在可以再次使用它。这是在基于戴尔 XPS 17 i7 的机器上运行的 Windows 8 专业版上。
回答by Gilad
it comes as a pack of Windows Performance Toolkit (WPT) v5 for Windows 8 http://social.msdn.microsoft.com/Forums/en-US/wptkv5/thread/090ed47a-f253-4c5a-8dc8-a7923e839815
它是一包适用于 Windows 8 的 Windows Performance Toolkit (WPT) v5 http://social.msdn.microsoft.com/Forums/en-US/wptkv5/thread/090ed47a-f253-4c5a-8dc8-a7923e839815
here is the download
这是下载
http://www.microsoft.com/en-us/download/details.aspx?id=30652
http://www.microsoft.com/en-us/download/details.aspx?id=30652
回答by Contango
I managed to get everything downloaded and working under Windows 10with a .NET 4.5 WPF app.
我设法下载了所有内容并Windows 10使用.NET 4.5 WPF app.
- Follow instructions from Microsoft at Where to Download WPF Performance Suite? (Perforator, Visual Profiler). You need to install both the app, and its timezone patch.
- You must run the WPF profile app
beforeyou run the target app. - Try running the target app as
Administrator. It needs elevated privileges, or else it will not appear in theSelect Processdialog. - If you cannot run the target app as
Administrator, then you can still useActions..Launch Processto launch it.
- 按照 Microsoft 在何处下载 WPF 性能套件?(穿孔器,可视化分析器)。您需要安装该应用程序及其时区补丁。
- 您必须运行
before您运行目标应用程序的 WPF 配置文件应用程序。 - 尝试将目标应用程序作为
Administrator. 它需要提升权限,否则它不会出现在Select Process对话框中。 - 如果您无法将目标应用程序作为 运行
Administrator,那么您仍然可以使用Actions..Launch Process它来启动它。
回答by BatteryBackupUnit
Visual Studio 2015 comes with "Timeline", which by my estimation roughly provides the same features as Visual profiler. It can profile WPF on .net4+, including 4.5, 4.6.
Visual Studio 2015 带有“时间轴”,据我估计,它提供的功能与 Visual Profiler 大致相同。它可以在 .net4+ 上分析 WPF,包括 4.5、4.6。
It can be started by
它可以通过
To profile a WPF application in Visual Studio 2015 CTP 5, open the Performance and Diagnostics hub from the Debug -> Start Diagnostic Tools Without Debugging (ALT+F2) menu. Select the Application Timeline tool and click Start (You can also run the CPU Usage tool alongside the Application Timeline tool).
若要在 Visual Studio 2015 CTP 5 中分析 WPF 应用程序,请从“调试”->“启动不调试的诊断工具 (ALT+F2)”菜单中打开“性能和诊断”中心。选择 Application Timeline 工具并单击 Start(您也可以在 Application Timeline 工具旁边运行 CPU Usage 工具)。
(来源:https: //blogs.msdn.microsoft.com/wpf/2015/01/16/new-ui-performance-analysis-tool-for-wpf-applications/)

