(→ARM/N900/Browser project) |
(→observations) |
||
| Line 11: | Line 11: | ||
== observations == | == observations == | ||
* there are lots of warnings and assertions, need to figure which of those are critical | * there are lots of warnings and assertions, need to figure which of those are critical | ||
| + | * on x86 (Intel Core Duo) startup in a build with loggin enabled is about 4 seconds: | ||
| + | ** there are a few things that seem to be slower than usual -> [[Image:Mozdebug.png|thumb|fennec-qt startup trace]] | ||
| + | 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 | ||
== to check == | == to check == | ||
~/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