mozilla

Revision 111488 of Profiling with AMD CodeAnalyst

  • Revision slug: Profiling_with_AMD_CodeAnalyst
  • Revision title: Profiling with AMD CodeAnalyst
  • Revision id: 111488
  • Created:
  • Creator: VladVukicevic
  • Is current revision? No
  • Comment page created, 209 words added

Revision Content

When reporting a performance problem with Firefox, or when experiencing instances of Firefox stuttering or otherwise being unresponsive to input, obtaining a snapshot of what's going on during that period is extremely helpful for developers.  This page will walk you through using the freely available AMD CodeAnalyst tool to create such a snapshot.

This page applies to Windows only, because of the dependency on obtaining symbols from the Mozilla Symbol Server.  On MacOS X, a special Shark-enabled build can be used which has symbol information already built in.  On Linux, a custom build would be required.
If you are on a 64-bit version of Windows, AMD CodeAnalyst has some known problems that may cause blue screen crashes when your computer idles, especially on non-AMD CPUs.  You may want to avoid using CodeAnalyst until the problem is resolved.

Download and Install AMD CodeAnalyst

Download AMD CodeAnalyst for Windows from AMD's Developer site.  (You may need to create an account.)  Make sure you download the latest version, which at the time of this writing is 2.94.  The download site is a little unclear, often offering links to multiple versions.

Start a Profiling Run

Start CodeAnalyst by double-clicking its icon.  You'll see the following screen:

Revision Source

<p>When reporting a performance problem with Firefox, or when experiencing instances of Firefox stuttering or otherwise being unresponsive to input, obtaining a snapshot of what's going on during that period is extremely helpful for developers.  This page will walk you through using the freely available AMD CodeAnalyst tool to create such a snapshot.</p>
<div class="note"><strong>This page applies to Windows only</strong>, because of the dependency on obtaining symbols from the <a class="internal" href="/en/Using_the_Mozilla_symbol_server" title="en/Using the Mozilla symbol server">Mozilla Symbol Server</a>.  On MacOS X, a special Shark-enabled build can be used which has symbol information already built in.  On Linux, a custom build would be required.</div>
<div class="warning"><strong>If you are on a 64-bit version of Windows</strong>, AMD CodeAnalyst has some known problems that may cause blue screen crashes when your computer idles, especially on non-AMD CPUs.  You may want to avoid using CodeAnalyst until the problem is resolved.</div>
<h3>Download and Install AMD CodeAnalyst</h3>
<p>Download <a class="external" href="http://developer.amd.com/cpu/CodeAnalyst/codeanalystwindows/Pages/default.aspx" title="http://developer.amd.com/cpu/CodeAnalyst/codeanalystwindows/Pages/default.aspx">AMD CodeAnalyst for Windows </a> from AMD's Developer site.  (You may need to create an account.)  <strong>Make sure you download the latest version, which at the time of this writing is 2.94.</strong>  The download site is a little unclear, often offering links to multiple versions.</p>
<h3>Start a Profiling Run</h3>
<p>Start CodeAnalyst by double-clicking its icon.  You'll see the following screen:</p>
Revert to this revision