https://wiki.cdot.senecacollege.ca/w/index.php?title=PGO_Related_Bugs/Thunderbird&feed=atom&action=historyPGO Related Bugs/Thunderbird - Revision history2024-03-28T14:01:12ZRevision history for this page on the wikiMediaWiki 1.30.0https://wiki.cdot.senecacollege.ca/w/index.php?title=PGO_Related_Bugs/Thunderbird&diff=20601&oldid=prevCbishop2: New page: PGO Related Material for Thunderbird ==Steps to Enable PGO for Windows== *Step 1: <blockquote> Modify the file $topsrcdir/mozilla/modules/lcms/src/Makefile.in and add the line <code>NO_...2008-11-16T03:19:43Z<p>New page: PGO Related Material for Thunderbird ==Steps to Enable PGO for Windows== *Step 1: <blockquote> Modify the file $topsrcdir/mozilla/modules/lcms/src/Makefile.in and add the line <code>NO_...</p>
<p><b>New page</b></p><div>PGO Related Material for Thunderbird<br />
<br />
==Steps to Enable PGO for Windows==<br />
<br />
*Step 1: <br />
<blockquote><br />
Modify the file $topsrcdir/mozilla/modules/lcms/src/Makefile.in and add the line <code>NO_PROFILE_GUIDED_OPTIMIZE = 1</code>.<br />
</blockquote><br />
*Step 2:<br />
<blockquote><br />
Configure the .mozconfig in the $topsrcdir for <code>ac_add_options --enable-application=mail</code> and <code>mk_add_options MOZ_CO_PROJECT=mail</code>. My .mozconfig looks like <br />
<pre>ac_add_options --enable-application=mail<br />
mk_add_options MOZ_CO_PROJECT=mail<br />
mk_add_options MOZ_MAKE_FLAGS=-j5<br />
ac_add_options --disable-vista-sdk-requirements<br />
ac_add_options --disable-tests<br />
ac_add_options --enable-optimize<br />
ac_add_options --disable-debug<br />
</pre><br />
</blockquote><br />
*Step 3:<br />
<blockquote><br />
In the $topsrcdir execute the build command <code>make -f client.mk build MOZ_PROFILE_GENERATE=1</code><br />
</blockquote><br />
*Step 4:<br />
<blockquote><br />
After it has finished, Thunderbird needs to be profiled. Run the executable found in $objdir/mozilla/dist/bin and do a few scenarios and close Thunderbird.<br />
</blockquote><br />
*Step 5:<br />
<blockquote><br />
This next step I did not due on Windows and it worked ok. I have to try it and see what happens. I'm told this step has to take place.<br /><br />
In the $topsrcdir execute the build command <code>make -f client.mk clean</code><br />
</blockquote><br />
*Step 6:<br />
<blockquote><br />
In the $topsrcdir execute the build command <code>make -f client.mk build MOZ_PROFILE_USE=1</code><br />
</blockquote><br />
<br />
Now you have a build of Thunderbird that is optimized using PGO.</div>Cbishop2