(→observations) |
m (→to check in builds) |
||
| (16 intermediate revisions not shown) | |||
| Line 17: | Line 17: | ||
moz-plot-timeline.py mozdebug.log2 -o mozdebug.png | moz-plot-timeline.py mozdebug.log2 -o mozdebug.png | ||
| - | == to check == | + | * can't get my own build to work so far: [http://build.meego.com/package/show?package=fennec-qt&project=home%3Aensonic%3Abranches%3Adevel%3Abrowser home:ensonic:branches:devel:browser] |
| + | |||
| + | == to check in builds == | ||
* do we have the recent version in the n900 repo? | * do we have the recent version in the n900 repo? | ||
** the package in [http://build.meego.com/package/files?package=fennec-qt&project=Trunk%3ATesting Trunk:Testing]/[http://build.meego.com/package/files?package=fennec-qt&project=devel%3Abrowser devel:browser] (seems the same) is two weeks old | ** the package in [http://build.meego.com/package/files?package=fennec-qt&project=Trunk%3ATesting Trunk:Testing]/[http://build.meego.com/package/files?package=fennec-qt&project=devel%3Abrowser devel:browser] (seems the same) is two weeks old | ||
** the n900 images are using [http://build.meego.com/package/files?package=fennec-qt&project=devel%3Abrowser devel:browser] | ** the n900 images are using [http://build.meego.com/package/files?package=fennec-qt&project=devel%3Abrowser devel:browser] | ||
* Is the package using a proper [http://build.meego.com/package/view_file?file=mozconfig&package=fennec-qt&project=devel%3Abrowser&srcmd5=a7854b765e54fb29157c663bc60040fe mozconfig]. | * Is the package using a proper [http://build.meego.com/package/view_file?file=mozconfig&package=fennec-qt&project=devel%3Abrowser&srcmd5=a7854b765e54fb29157c663bc60040fe mozconfig]. | ||
| - | + | * my build above used these items in mozconfig: | |
ac_add_options --enable-debug="-g3" | ac_add_options --enable-debug="-g3" | ||
ac_add_options --disable-optimize | ac_add_options --disable-optimize | ||
ac_add_options --enable-logging | ac_add_options --enable-logging | ||
ac_add_options --disable-elf-dynstr-gc | ac_add_options --disable-elf-dynstr-gc | ||
| - | + | ||
| + | * some potentially interesting options | ||
ac_add_options --enable-mobile-optimize | ac_add_options --enable-mobile-optimize | ||
ac_add_options --enable-optimize="-O2" | ac_add_options --enable-optimize="-O2" | ||
ac_add_options --enable-faststart | ac_add_options --enable-faststart | ||
| + | |||
* are we using the bundled jpeg/png/zlib/bz2 libs, if not would that help? | * are we using the bundled jpeg/png/zlib/bz2 libs, if not would that help? | ||
| + | ** our system [https://bugs.meego.com/show_bug.cgi?id=15295 libpng is too old] (we have: 1.2.44 - Jun 26 2010, we need >= 1.4.X, upstream has: 1.5.2 - Mar 31 2011) | ||
| + | ** our system [https://bugs.meego.com/show_bug.cgi?id=15297 sqlite is too old] (we have: 3.7.2, we need: >= 3.7.4, upstream has: 3.7.5) | ||
| + | ** <s>our system [https://bugs.meego.com/show_bug.cgi?id=15298 cairo has no "tee" support] (cairo need to be build with "--enable-tee")</s> | ||
ac_add_options --with-system-jpeg | ac_add_options --with-system-jpeg | ||
ac_add_options --with-system-png | ac_add_options --with-system-png | ||
ac_add_options --with-system-zlib | ac_add_options --with-system-zlib | ||
ac_add_options --with-system-bz2 | ac_add_options --with-system-bz2 | ||
| + | ac_add_options --enable-system-hunspell | ||
| + | ac_add_options --enable-system-sqlite | ||
| + | ac_add_options --enable-system-cairo | ||
| + | ac_add_options --enable-system-pixman | ||
| + | |||
| + | * what about disabling certain subsystems | ||
| + | ac_add_options --disable-installer | ||
| + | ac_add_options --disable-crashreporter | ||
| + | ac_add_options --disable-javaxpcom | ||
| + | ac_add_options --disable-printing | ||
| + | |||
| + | == measurements == | ||
| + | * test the [https://addons.mozilla.org/de/firefox/addon/about-startup/ AboutStartup] ([http://glandium.org/blog/?p=1575 developer page]) extension on the device. | ||
| + | ** need to set the date, otherwise fennec warns about expired certificates | ||
| + | ** right now this extensions seems to require => 4.0b4 and we have "Firefox/4.0b8pre Fennec/4.0b3pre" | ||
| + | ** we can work around that: | ||
| + | **# Type about:config into Firefox’s address bar and click the “I’ll be careful, I promise!” button. | ||
| + | **# Right-click on the Firefox window. Select New > Boolean. | ||
| + | **# When asked to enter the preference name, type extensions.checkCompatibility and click OK. | ||
| + | **# Make sure false is selected/highlighted and click OK. The end result should look something like the image below. | ||
| + | |||
| + | I did some 'stop-watch' meassurements for the time being: | ||
| + | * meego-handset-armv7hl-n900-1.1.99.1.20110404.5-mmcblk0p.raw.bz2 | ||
| + | * first startup | ||
| + | ** after 10 sec. the spinner over the icon disappeared | ||
| + | ** after 25 more sec. the UI was in place | ||
| + | * second startup | ||
| + | ** after 10 sec. the spinner over the icon disappeared | ||
| + | ** after 12 more sec. the UI was in place | ||
Contents |
~/projects/mozilla-central-mobile-qt-obj/mobile/dist/bin ./run-mozilla.sh ./fennec
NSPR_LOG_FILE="mozdebug.log" NSPR_LOG_MODULES="all:5,timestamp" ./run-mozilla.sh >/dev/null 2>&1 ./fennec
NSPR_LOG_FILE="mozdebug.log" NSPR_LOG_MODULES="all:3,timestamp,sync" ./run-mozilla.sh ./fennec sort mozdebug.log >mozdebug.log2 moz-plot-timeline.py mozdebug.log2 -o mozdebug.png
ac_add_options --enable-debug="-g3" ac_add_options --disable-optimize ac_add_options --enable-logging ac_add_options --disable-elf-dynstr-gc
ac_add_options --enable-mobile-optimize ac_add_options --enable-optimize="-O2" ac_add_options --enable-faststart
ac_add_options --with-system-jpeg ac_add_options --with-system-png ac_add_options --with-system-zlib ac_add_options --with-system-bz2 ac_add_options --enable-system-hunspell ac_add_options --enable-system-sqlite ac_add_options --enable-system-cairo ac_add_options --enable-system-pixman
ac_add_options --disable-installer ac_add_options --disable-crashreporter ac_add_options --disable-javaxpcom ac_add_options --disable-printing
I did some 'stop-watch' meassurements for the time being: