Web browsing on Firefox OS is not as efficient as Android

RESOLVED WONTFIX

Status

Firefox OS
Performance
P2
normal
RESOLVED WONTFIX
3 years ago
2 years ago

People

(Reporter: ntroast, Unassigned)

Tracking

({perf})

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [caf priority: p2][CR 818099][perf-wanted][profile-wanted])

Attachments

(1 attachment)

(Reporter)

Description

3 years ago
Created attachment 8605485 [details]
browser_comparison.pdf

Gaia: 83a63e0e6fcc22c6a74b06ef77b88d5049719cad
Gecko: 4f049c08e74aab39ee81e7c6e7fcee311a1868b0

The BrowserMark process is a simple packaged web app that sets a 5 second interval to change the source of an iframe. A random number is used to prevent caching.

setInterval(function () {
  $('iframe').attr('src', 'http://www.wikipedia.org/wiki/Firefox?rand=' + Date.now());
}, 5000);

5x 60second kernel traces were averaged and divided by 60 in order to produce the attached pdf. So each value is the time in ms out of one second.

The expectation is that Firefox OS uses equal or less CPU time than Android while browsing.

Updated

3 years ago
Whiteboard: [CR 818099]

Updated

3 years ago
Whiteboard: [CR 818099] → [caf priority: p2][CR 818099]
Thinker, can you take a look at this?
Flags: needinfo?(tlee)

Comment 2

3 years ago
I don't really understand the numbers.  Are they the process's CPU time in ms?
Flags: needinfo?(tlee) → needinfo?(ntroast)
(Reporter)

Comment 3

3 years ago
Yes the numbers are the process's CPU time in ms over a period of one second.
Flags: needinfo?(ntroast) → needinfo?(tlee)

Comment 4

3 years ago
(In reply to Nicholas Troast [:ntroast] from comment #3)
> Yes the numbers are the process's CPU time in ms over a period of one second.

May I know how many CPUs are running when you run this app and what are the frequencies of CPUs?
(Reporter)

Comment 5

3 years ago
(In reply to Ken Chang[:ken] from comment #4)
> May I know how many CPUs are running when you run this app and what are the
> frequencies of CPUs?

4 cores @ 1.3GHz

Updated

3 years ago
tracking-b2g: --- → +
Keywords: perf
Ken, is your team looking at this one?
Flags: needinfo?(kchang)

Comment 7

3 years ago
(In reply to Dylan Oliver [:doliver] from comment #6)
> Ken, is your team looking at this one?
Hi Dylan,
We aren't confident that we can fix this issue in 2.2. But Thinker's team will keep looking into this problem.
Flags: needinfo?(kchang)

Comment 8

3 years ago
[Tracking Requested - why for this release]:

Noted as performance wanted bug to be care in future release. I suggest not in v2.2.
tracking-b2g: + → backlog
Whiteboard: [caf priority: p2][CR 818099] → [caf priority: p2][CR 818099][perf-wanted]

Updated

3 years ago
Blocks: 1093564

Comment 9

3 years ago
(In reply to Nicholas Troast [:ntroast] from comment #5)
> (In reply to Ken Chang[:ken] from comment #4)
> > May I know how many CPUs are running when you run this app and what are the
> > frequencies of CPUs?
> 
> 4 cores @ 1.3GHz

Hmm, that means that Firefox is run by 4 cores with 1.3 GHz while doing this test.
And another thing I learned from Dylan is that this problem is relevant to the power
consumption. I wonder if we could have your power consumption datums of Android and Firefox
while doing this test.

Comment 10

3 years ago
Ni Dylan and Nicolas, should we move it out from v2.2?
Flags: needinfo?(ntroast)
Flags: needinfo?(doliver)
Confirmed that we will move this off the 2.2 list. Bumping to 3.0? to retain visibility.
blocking-b2g: 2.2? → 3.0?
Flags: needinfo?(tlee)
Flags: needinfo?(doliver)
Removing dependency on CAF 2.2, per agreement with partner.
No longer blocks: 1063044
Flags: needinfo?(ntroast)

Updated

3 years ago
Blocks: 1063044

Updated

3 years ago
No longer blocks: 1063044
Hi Thinker,

Is there any progress on this issue? Or are there maybe some other more specific bugs that we should be watching for 2.5?
Flags: needinfo?(tlee)
Ken, see comment #13 -- is there some activity on this topic that we can/should be tracking for 2.5?
Flags: needinfo?(kchang)

Comment 15

3 years ago
Dylan, we haven't start profile in bug yet. I will request issue profile. Thanks.
Flags: needinfo?(tlee)
Flags: needinfo?(kchen)
Flags: needinfo?(kchang)
Priority: -- → P2
Clearing blocking request for now and will leave it to Bobby to nominate specific work that needs to be included based on the analysis.
blocking-b2g: 2.5? → ---

Updated

3 years ago
Whiteboard: [caf priority: p2][CR 818099][perf-wanted] → [caf priority: p2][CR 818099][perf-wanted][profile-wanted]

Updated

2 years ago
Flags: needinfo?(kchen)

Updated

2 years ago
Status: NEW → RESOLVED
Last Resolved: 2 years ago
tracking-b2g: backlog → ---
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.