Investigate pre-launching common apps

RESOLVED WONTFIX

Status

Firefox OS
Gaia::System
RESOLVED WONTFIX
5 years ago
2 months ago

People

(Reporter: cjones, Unassigned)

Tracking

unspecified
ARM
Gonk (Firefox OS)

Firefox Tracking Flags

(blocking-b2g:-)

Details

After we get the shared-compartment pref flipped back on, we'll have lots of free memory available after startup.  Free memory is wasted memory.  Here's one potential way to use it.  (*cough* cheat on startup.)

Create a list of common apps.  After startup, and off an idle timer or something, launch them in the background.  If things go well, they'll run "forever" and will always start nearly instantly.

The list I would start with is: SMS, settings, dialer.

It's critical that they start in the background and not disturb the rest of the system.  If we can't pull that off, this speculative optimization isn't worth the hit on perceived perf.
(In reply to Chris Jones [:cjones] [:warhammer] from comment #0)
> It's critical that they start in the background and not disturb the rest of
> the system.  If we can't pull that off, this speculative optimization isn't
> worth the hit on perceived perf.

A system message to wake them up should do that.
This is a feature we discussed with the leo team.
blocking-b2g: --- → leo?
Please re-nominate when it's clear that there's a win and big enough to push other stuff off the 1.1 plate.
blocking-b2g: leo? → -
Closing this old B2G bug.
Status: NEW → RESOLVED
Last Resolved: 2 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.