Open main menu

CDOT Wiki β

Changes

PGO Related Bugs

1,196 bytes added, 14:36, 17 October 2008
0.1 Release
|width="15px"|
|
*{|!width="25px" |!|-|colspan="2"|'''Reproduce bug(s) '''|- Update: Unable ||Was able toreproduce bug for sqlite pgo.*<strike>|-|colspan="2"|'''Document how to reproduce bug(s).'''|-||To enable PGO for sqlite a line must be commented in a make file.<br /strike>*in path/to/src/db/sqlite/src/Makefile.in<br /> add a hash to the line <strikecode>NO_PROFILE_GUIDED_OPTIMIZE = 1</code> <br />should look like <code>#NO_PROFILE_GUIDED_OPTIMIZE = 1</code><br />The build firefox with <code>make -f client.mk profiledbuild</code><br />in the .mozconfig file you'll need an extra parameter <code>mk_add_options PROFILE_GEN_SCRIPT="sh script/to/run.sh"</code><br /><em>My Script file</em> has the following: <pre>export NO_EM_RESTART=1 #this means 'do not restart for any reason' during automation we do not want any restarting mkdir $OBJDIR/_profileprofile cd $OBJDIR/_tests/testing/mochitestpython runtests.py --test-path=browser/ --autorun --close-when-done</pre> |-|colspan="2"|'''Hone in on cause of bug(s).</strike>'''|-||Turns out the bug is in the sqlite3.c file. I can reproduce the error when creating a stand alone sqlite application and enabling PGO on the application.|-*|colspan="2"|'''Running xpcshell and Mochitest against PGO build.'''*|-|Since firefox right out crashes I am unable to run Mochitests but the xpcshell tests do run until they hit the storage tests.<br />The ||-|colspan="2"|'''Create strategy for profiling Firefox to improve performance. '''|-||yup|}More to come....
|}
1
edit