Mobile/Profiling: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 1: Line 1:
== Profiling ==
= Approaches =
 
Profiling on device is the most important thing. We currently have:
 
* [https://github.com/pcwalton/piranha piranha], an Android profiler by pcwalton
* [http://mozakai.blogspot.com/2011/02/high-level-fennec-profiling.html azakai's profiling patches] that work on all OSes
** See {{bug|629513}} for data
 
On desktop OSes, normal profilers like oprofile are useful.
 
= Older Stuff =
 
* XULRunner profiling [[Media:Xulrunner-perf.zip‎|results‎]] from Movial
* XULRunner profiling [[Media:Xulrunner-perf.zip‎|results‎]] from Movial


== Oprofile ==
=== Oprofile ===
 
* [[Setup_Oprofile_N800 | Instructions to setup USB networking, NFS and OProfile on N800]] (Note these instructions are slightly out of date)
* [[Setup_Oprofile_N800 | Instructions to setup USB networking, NFS and OProfile on N800]] (Note these instructions are slightly out of date)
* I had trouble recompiling glibc because of a missing 'limits.h' file.
* I had trouble recompiling glibc because of a missing 'limits.h' file.
** I hacked around it by copying /scratchbox/compilers/cs2007q3-glibc2.5-arm6/lib/gcc/arm-none-linux-gnueabi/4.2.1/include-fixed/limits.h to /scratchbox/compilers/cs2007q3-glibc2.5-arm6/lib/gcc/arm-none-linux-gnueabi/4.2.1/include/
** I hacked around it by copying /scratchbox/compilers/cs2007q3-glibc2.5-arm6/lib/gcc/arm-none-linux-gnueabi/4.2.1/include-fixed/limits.h to /scratchbox/compilers/cs2007q3-glibc2.5-arm6/lib/gcc/arm-none-linux-gnueabi/4.2.1/include/
213

edits