Closed Bug 815440 Opened 12 years ago Closed 7 years ago

Investigate pre-launching common apps

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:-)

RESOLVED WONTFIX
blocking-b2g -

People

(Reporter: cjones, Unassigned)

References

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
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.