Firefox OS/Performance/Memory: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Start roughing out the structure for fxos memory page)
 
m (Lakrits moved page FirefoxOS/Performance/Memory to Firefox OS/Performance/Memory: The official spelling of "Firefox OS" leaves a space between the two parts of the name. It's easier to find a page if the spelling of its name is consistent with...)
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Progress==
<bugzilla type="count" display="bar">
    {
        "product": "Firefox OS",
        "keywords":"perf",
        "keywords_type":"contains",
        "whiteboard":"c=memory",
        "whiteboard_type":"contains",
        "x_axis_field":"status"
    }
</bugzilla>
== Background ==
== Background ==
* [https://developer.mozilla.org/en-US/Firefox_OS/Platform/Out_of_memory_management_on_Firefox_OS Firefox OS Out of Memory (OOM) Management]
* [http://www.elinux.org/Android_Memory_Usage Android Memory Types]
* [http://www.elinux.org/Android_Memory_Usage Android Memory Types]
* [[FirefoxOS/Performance/Memory/OOMKiller|Out-of-Memory Killer]]
* [[Performance/MemShrink|MemShrink Project]]


== Tools ==
== Tools ==
* Cross-Platform Tools
* Cross-Platform Tools
** about:memory
** [[Performance/MemShrink/DMD|Dark Matter Detector (DMD)]]
** [[Performance/MemShrink/DMD|Dark Matter Detector (DMD)]]
** Instrumentation
** [[Performance:Leak_Tools#What_leak_tools_do_we_have.3F|Leak Detection Tools]]
* Firefox OS Specific Tools
* Firefox OS Specific Tools
** b2g-ps
** [[FirefoxOS/Performance/Memory/ADB Tools|ADB Command Line Tools]]
** b2g-info
** [https://developer.mozilla.org/en-US/Firefox_OS/Debugging/Developer_settings#App_memory App Developer Memory Overlay]
** /proc/meminfo
** (Future) Capture memory usage in SPS profiler and cleopatra ({{bug|988332}})
** SPS profiler and cleopatra
 
* Other Tools
== Debugging ==
** Mac OS X Instrument.app
* [https://developer.mozilla.org/en-US/Firefox_OS/Debugging/Debugging_OOMs Out-of-Memory Events (OOMs) on Firefox OS]
* [https://developer.mozilla.org/en-US/docs/Mozilla/Debugging/Debugging_memory_leaks Leaks in Gecko]
* [[FirefoxOS/Performance/Memory/Transients|Transient Memory Spikes]]
 
== Memory Usage in Automation ==
* [https://areweslimyet.com/ Are We Slim Yet]
* Firefox OS Datazilla
** App Memory
*** browser ([https://datazilla.mozilla.org/b2g/?branch=master&range=90&plot=median&device=hamachi&test=browser_memory hamachi])
*** calendar ([https://datazilla.mozilla.org/b2g/?branch=master&range=90&plot=median&device=hamachi&test=calendar_memory hamachi])
*** clock ([https://datazilla.mozilla.org/b2g/?branch=master&range=90&plot=median&device=hamachi&test=clock_memory hamachi])
*** contacts ([https://datazilla.mozilla.org/b2g/?branch=master&range=90&plot=median&device=hamachi&test=communications/contacts_memory hamachi])
*** dialer ([https://datazilla.mozilla.org/b2g/?branch=master&range=90&plot=median&device=hamachi&test=communications/dialer_memory hamachi])
*** fm radio ([https://datazilla.mozilla.org/b2g/?branch=master&range=90&plot=median&device=hamachi&test=fm_memory hamachi])
*** gallery ([https://datazilla.mozilla.org/b2g/?branch=master&range=90&plot=median&device=hamachi&test=gallery_memory hamachi])
*** music ([https://datazilla.mozilla.org/b2g/?branch=master&range=90&plot=median&device=hamachi&test=music_memory hamachi])
*** settings ([https://datazilla.mozilla.org/b2g/?branch=master&range=90&plot=median&device=hamachi&test=settings_memory hamachi])
*** sms ([https://datazilla.mozilla.org/b2g/?branch=master&range=90&plot=median&device=hamachi&test=sms_memory hamachi])
*** video ([https://datazilla.mozilla.org/b2g/?branch=master&range=90&plot=median&device=hamachi&test=video_memory hamachi])
** Parent Process Memory - Endurance Tests
*** Add Contact ([https://datazilla.mozilla.org/b2g/?branch=master&range=90&plot=median&device=hamachi&test=endurance_add_contact hamachi])
*** Delete Contact ([https://datazilla.mozilla.org/b2g/?branch=master&range=90&plot=median&device=hamachi&test=endurance_add_delete_contact hamachi])
*** Browser Wifi ([https://datazilla.mozilla.org/b2g/?branch=master&range=90&plot=median&device=hamachi&test=endurance_browser_wifi hamachi])
*** Camera Photo ([https://datazilla.mozilla.org/b2g/?branch=master&range=90&plot=median&device=hamachi&test=endurance_camera_photo hamachi])
*** Camera Video ([https://datazilla.mozilla.org/b2g/?branch=master&range=90&plot=median&device=hamachi&test=endurance_camera_video hamachi])
*** FM Radio Play ([https://datazilla.mozilla.org/b2g/?branch=master&range=90&plot=median&device=hamachi&test=endurance_fmradio_play hamachi])
*** Gallery Flick ([https://datazilla.mozilla.org/b2g/?branch=master&range=90&plot=median&device=hamachi&test=endurance_gallery_flick hamachi])
*** Launch Phone ([https://datazilla.mozilla.org/b2g/?branch=master&range=90&plot=median&device=hamachi&test=endurance_launch_phone hamachi])
*** Lock Screen ([https://datazilla.mozilla.org/b2g/?branch=master&range=90&plot=median&device=hamachi&test=endurance_lock_screen hamachi])
*** Set Alarm ([https://datazilla.mozilla.org/b2g/?branch=master&range=90&plot=median&device=hamachi&test=endurance_set_alarm hamachi])
*** SMS Send/Receive ([https://datazilla.mozilla.org/b2g/?branch=master&range=90&plot=median&device=hamachi&test=endurance_sms_send_receive hamachi])
 
==References==
* [https://etherpad.mozilla.org/e3fTHj5FV6 MemShrink Priorities]
 
__FORCETOC__

Latest revision as of 13:59, 1 February 2015

Progress

Bugzilla query error

Array ( [type] => error [message] => http-bad-status [params] => Array ( [0] => 400 [1] => Bad Request ) ) 1


Background

Tools

Debugging

Memory Usage in Automation

References