Closed Bug 915088 Opened 12 years ago Closed 12 years ago

[1.2] SMS App launch time has regressed (compared to [1.1]

Categories

(Firefox OS Graveyard :: Gaia::SMS, defect, P1)

All
Gonk (Firefox OS)
defect

Tracking

(blocking-b2g:koi+)

RESOLVED WORKSFORME
1.2 C2(Oct11)
blocking-b2g koi+

People

(Reporter: mvikram, Assigned: julienw)

References

Details

(Keywords: perf, regression, Whiteboard: [c=progress p= s= u=1.2] )

Attachments

(1 file)

1.78 MB, application/octet-stream
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.66 Safari/537.36 Steps to reproduce: Launch the SMS App (QRD 7x27 device). Measurements are made using a high speed camera measuring the time from when the touch event was recognized to fist app paint. Actual results: Measured time on (1.2) is: 2415 ms Measured time on (1.1): 1644 ms
Depends on: 914910
OS: All → Gonk (Firefox OS)
Priority: -- → P1
How many threads and SMS do you have in your measurements ? On Keon this takes 600ms.
blocking-b2g: --- → koi+
Will it help to attach the SMS DB with the test data?
Keywords: perf, regression
Yes please, it will help a lot working on the same data set :)
Flags: needinfo?(mvikram)
Attaching the SMS DB with the test data
Flags: needinfo?(mvikram)
Attached file local.zip
Assignee: nobody → felash
Whiteboard: [c=progress p= s= u=1.2]
Per Sandip in bug 914910: First time launch latency goal for SMS app is 1200ms.
Blocks: 915068
Julien - this is a CS blocker brought up by QC, are you getting any progress in investigating the regression and/or driving down the launch latency in v1.2 with a forward fix?
Flags: needinfo?(felash)
I've not investigated much yet, and at least not with the provided attachment yet. Something planned for this week.
Flags: needinfo?(felash)
What do I do exactly with that .zip. If I adb push its content to replace /data/local on my device, I don't even get b2g to restart. I get the following error messages in logcat E/GeckoConsole( 866): [JavaScript Error: "DOMApplicationRegistry: Could not parse JSON: /data/local/webapps/webapps.json [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFile.create]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/FileUtils.jsm :: FileUtils_getDir :: line 70" data: no] E/GeckoConsole( 866): undefined" {file: "resource://gre/modules/Webapps.jsm" line: 863}] E/GeckoConsole( 866): [JavaScript Error: "[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFile.create]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/FileUtils.jsm :: FileUtils_getDir :: line 70" data: no]" {file: "resource://gre/modules/FileUtils.jsm" line: 70}]
These are the steps I followed: 1) Download and extract attached zip file 2) run |adb root| 3) run |adb remount| 4) run |adb push local /data/local| Also, you can try rebooting the phone. It works for me.
I only pushed the sms databases. Could not get a working 1.2 buri yet.
Target Milestone: --- → 1.2 QE1(Oct11)
So, I get around 650ms on 1.1 for the first paint, plus around 500ms for showing the first message. Aaaaaaaand. the same for 1.2. Both on Buri.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: