Confirmed users
507
edits
| Line 6: | Line 6: | ||
| * For profiling pageload, you can generally use [http://developer.android.com/tools/debugging/debugging-tracing.html Monitor/DDMS]. Just press the "start method tracing" button, load a page, wait, press the "stop method tracing" button.   | * For profiling pageload, you can generally use [http://developer.android.com/tools/debugging/debugging-tracing.html Monitor/DDMS]. Just press the "start method tracing" button, load a page, wait, press the "stop method tracing" button.   | ||
| * For profiling startup time, you really need to add Debug.startMethodTracing(...) and Debug.stopMethodTracing(). [http://people.mozilla.org/~mfinkle/fennec/profiles/startup-tracing.patch Sample patch] | * For profiling startup time, you really need to add Debug.startMethodTracing(...) and Debug.stopMethodTracing(). [http://people.mozilla.org/~mfinkle/fennec/profiles/startup-tracing.patch Sample patch] | ||
| * Or use the am -P option, e.g. | * Or use the "am start" -P option, e.g. | ||
|   adb shell am start -n org.mozilla.fennec_$USER/.App -S -P /data/local/tmp/fennec.trace |   adb shell am start -n org.mozilla.fennec_$USER/.App -S -P /data/local/tmp/fennec.trace | ||
|   # wait for Fennec launch |   # wait for Fennec launch | ||