etiennesegonzac/gaia — pull request #4 by borjasalguero (2012-09-24 22:09:06+00:00)
Title: [Phone number lib] Call log working properly

Etienne! After reviewing your proposal I've made a lot of testing and I would define a 'final' proposal for our September 28th deadline with the following:
- **Attention screen**: I think that we should follow your proposal a least until having this functionality in Gecko. As soon as I receive the answer from VIVO Brazil I will update the tests! **(1)**
- **Calllog**: As in SMS we need to analyze the 'numbering plan', so I've added the library. **(2)**
- **SMS Background**: I've removed 'phonenumberlib' because It was not used there. **(3)**

I've analyze the comsuption of resources and here you have the result:

======= **(1) & (3) included**. **(2) not implemented** ========

+After booting
RAM: 172880K total, 37452K free, 0K buffers, 35256K cached, 104K shmem, 8660K slab

+With SMS App
RAM: 172880K total, 34864K free, 0K buffers, 36272K cached, 104K shmem, 8580K slab

+SMS App + Dialer
RAM: 172880K total, 11900K free, 0K buffers, 37276K cached, 108K shmem, 8792K slab

+After Killing SMS App
RAM: 172880K total, 17540K free, 0K buffers, 37292K cached, 108K shmem, 8748K slab

+After Killing Dialer
RAM: 172880K total, 35376K free, 0K buffers, 37428K cached, 104K shmem, 8708K slab

+After Opening Contacts App
RAM: 172880K total, 19124K free, 0K buffers, 37464K cached, 104K shmem, 8792K slab

======= **(1),(2) & (3) included** ========

+After booting
RAM: 172880K total, 34332K free, 0K buffers, 34412K cached, 104K shmem, 7964K slab

+With SMS App
RAM: 172880K total, 29276K free, 0K buffers, 35068K cached, 104K shmem, 8000K slab

+SMS App + Dialer
RAM: 172880K total, 16776K free, 0K buffers, 30604K cached, 108K shmem, 8032K slab

+After Killing SMS App
RAM: 172880K total, 19392K free, 0K buffers, 30604K cached, 108K shmem, 8040K slab

+After Killing Dialer
RAM: 172880K total, 41300K free, 0K buffers, 30600K cached, 104K shmem, 8076K slab

+After Opening Contacts App
RAM: 172880K total, 20916K free, 0K buffers, 32592K cached, 104K shmem, 8064K slab

As we could see in the results from above including 'phonenumberlib' apparently does not impact the performance (it's nearly negligible), but for example Communications App is a heavy process in memory. Also we have to keep an eye on 'word suggestion', because if you activate it the free RAM disapears magically... :S
Sorry for the loooooong explanation! We have been testing all the options and I think that with this proposal we achieve the 90% of the requirements. ;)