Mobile/Profiling: Difference between revisions
< Mobile
Jump to navigation
Jump to search
No edit summary |
|||
| (One intermediate revision by one other user not shown) | |||
| 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 === | |||
* [[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 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/ | |||
Latest revision as of 18:43, 16 February 2011
Approaches
Profiling on device is the most important thing. We currently have:
- piranha, an Android profiler by pcwalton
- 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 results from Movial
Oprofile
- 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 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/