Firefox OS/Performance/Memory acceptance criteria: Difference between revisions

Line 31: Line 31:
application Y must be loaded and its user interface brought to the foreground.  Application X must remain loaded while Y is in the foreground.  When application Y returns data to X, X's user interface must be brought to the foreground.
application Y must be loaded and its user interface brought to the foreground.  Application X must remain loaded while Y is in the foreground.  When application Y returns data to X, X's user interface must be brought to the foreground.


'''MANDATORY''': A foreground application is never killed due to memory pressure while a perceivable or background application is alive.
'''MANDATORY''': No foreground application is killed due to memory pressure while a perceivable or background application is alive.


'''MANDATORY''': A perceivable application is never killed due to memory pressure while a background application is alive.
'''MANDATORY''': No perceivable application is killed due to memory pressure while a background application is alive.


'''QoS''': We will strive to maximize the number of perceivable and background applications that stay alive over the workloads defined below, while meeting the mandatory criteria above.  We should reject builds which regress the number of apps that stay alive under our workloads.
'''QoS''': The number of perceivable and background applications that stay alive over the workloads defined below does not regress, while meeting the mandatory criteria above.  Informally, a best effort is made to maximize the number of background and perceivable applications that stay alive.  Builds that regress the number of apps that stay alive under our workloads are rejected.


(''TODO'': define if or to what extent third-party code can affect these criteria
(''TODO'': define if or to what extent third-party code can affect these criteria
Confirmed users
699

edits