GPU performance 编辑

Doing performance work with GPUs is harder than with CPUs because of the asynchronous and massively parallel architecture.

Tools

PIX - Can do timing of Direct3D calls. Works reasonably well with Firefox. See also Debugging With PIX.

NVIDIA PerfHUD - Last I checked required a special build to be used.

NVIDIA Parallel Nsight - Haven't tried.

AMD GPU ShaderAnalyzer - Will compile a shader and show the machine code and give static pipeline estimations. Not that useful for Firefox because all of our shaders are pretty simple.

AMD GPU PerfStudio - I had trouble getting this to work, and can't remember whether I actually did or not.

Intel Graphics Performance Analyzers - Haven't tried.

APITrace - Open source, works OK.

PVRTrace - Doesn't seem to emit traces on android/Nexus S. Looks like it's designed for X11-based linux-ARM devices, OMAP3 is mentioned a lot in the docs ...

Guides

Accurately Profiling Direct3D API Calls (Direct3D 9)- Suggests avoiding normal profilers like xperf and instead measuring the time to flush the command buffer.

OS X - Best Practices for Working with Texture Data - Sort of old, but still useful.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:130 次

字数:2138

最后编辑:7 年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文