Changes

Jump to: navigation, search

PGO Related Bugs

3,592 bytes added, 23:26, 9 December 2008
0.3 Release
== <font color="Peru">Project Details </font>==
 
=== Conversations ===
 
{|
|width="15px"|
|December 6th
|Ted Mielczarek
|-
|
|colspan="2"|
I told Ted about how a large number of pgc (profile data) files were in a folder that gets deleted before the pgc files get used to optimize Thunderbird. It turns out that this folder gets clobbered to make sure if some one rebuilt their try after removing a component that it would not still be there. Ted suggest adding a flag that <code>ifndef MOZ_PROFILE_USE</code> then go ahead and clobber it otherwise don't.<br /><br />
That is only one part of it. The pgc files need to be merged into their corresponding pgd (program database) files but the script that does this only looks in one directory. I think I can just tell it to look in both locations. The <code>pgomerge.py</code> does not return errors for files not found.<br /><br />
Ted also said I should create another bug about this - how components can't be PGO'd on Win32.
|}
=== PGO Details ===
|width="15px"|
|[[PGO_Build_Details| Details]]
|-
|
|[[PGO_Related_Bugs/TB_Details|Thunderbird PGO Details]]
|}
Turned on speed optimizations for the Address Book module.
|}
 
=== Testing Scripts ===
|
|To enable PGO on Thunderbird a module in the Mozilla core needs to have PGO disabled - [https://bugzilla.mozilla.org/show_bug.cgi?id=465592 465592] - Resolved
|-
|
|Components cannot be PGO'd on Windows - [https://bugzilla.mozilla.org/show_bug.cgi?id=468285 468285]
|-
|
|js3250!1.pgc remains in dist/bin during a PGO build - [https://bugzilla.mozilla.org/show_bug.cgi?id=467271 467271]
|}
|-
|
|Here is the [[PGO_Related_Bugs/Patches#465592|patch]] for bug [https://bugzilla.mozilla.org/show_bug.cgi?id=465592 465592].|-||Here is the proposed [[PGO_Related_Bugs/Patches#468285 | patches]] for bug [https://bugzilla.mozilla.org/show_bug.cgi?id=468285 468285].
|}
|width="15px"|
|
==== <span style="color:SaddleBrown;">0.1 Release </span> ====
{|
|}
==== <span style="color:SaddleBrown;">0.2 Release </span> ====
{|
|width="15px"|
|}
==== <span style="color:SaddleBrown;">0.3 Release </span> ====
{|
|width="15px"|
|
To be Announced{|!width="25px" |!|-|colspan="2"|'''Patch to enable PGO for Thunderbird on Windows'''|-||I created a new [https://bugzilla.mozilla.org/show_bug.cgi?id=465592 bug] for allow PGO for Thunderbird on Windows and my patch has made it into the mozilla-core.<br/>This is the [[PGO_Related_Bugs/Patches | patch]] that landed.|-|colspan="2"|'''Add PGO to one module'''|-||It turns out that by default each module is optimized for size if using PGO. The problem that arose from this was the profile data was being collect but not used. The profile data was getting deleted at the beginning of the build cycle.|-|colspan="2"|'''Create a new bug for deleted profile data'''|-||Problem 1 is the profile data in the dist/bin/components folder is getting deleted. Problem 2 is even if the profile data wasn't getting deleted the pgomerge.py script is not looking for profile data in the dist/bin/components folder anyways. This means that any component that are profiled are not getting optimized.<br />Here are the [[PGO_Related_Bugs/Patches#468285|patches]] I'm proposing.<br/>I created a new [https://bugzilla.mozilla.org/show_bug.cgi?id=468285 bug] for this problem.|-|colspan="2"|'''Details of optimizing Thunderbird'''|-||Using the proposed patches 74 objects were profiled and 69 were optimized. Here are the [[PGO_Related_Bugs/TB_Details|details]].|} <!-- end 0.3 release -->
|}
!Comments
|-valign="top"
|style="color:green;font-weight:bold" |Dec 5nd8nd, 2008||I successfully optimized the components but I broke something small. I [http://dee132.blogspot.com/2008/12/thunderbird-components-getting.html blogged] about it.|-valign="top"|style="color:green;font-weight:bold" |Dec 6nd, 2008||I posted a new bug about components not getting optimized for Windows. This is the [https://bugzilla.mozilla.org/show_bug.cgi?id=468285 bug].|-valign="top"|style="color:green;font-weight:bold" |Dec 6nd, 2008||After talking with Ted Mielczarek on IRC I have found out why the files I'm profiling are not getting merged into the optimized build. [[PGO_Related_Bugs#Conversations|Here]] is the conversation.|-valign="top"|style="color:green;font-weight:bold" |Dec 6nd, 2008
|
|My patch has made into mozilla-central. Here is the [http://dee132.blogspot.com/2008/12/patch-landed.html blog] posting.
1
edit

Navigation menu