Closed Bug 1030267 Opened 11 years ago Closed 7 years ago

[Flame v2.1] [Contacts] - Deleting a large number of contacts takes a long time

Categories

(Firefox OS Graveyard :: Gaia::Contacts, defect, P3)

ARM
Gonk (Firefox OS)
defect

Tracking

(b2g-v2.0 affected, b2g-v2.1 affected)

RESOLVED WONTFIX
Tracking Status
b2g-v2.0 --- affected
b2g-v2.1 --- affected

People

(Reporter: rdaub, Unassigned)

Details

(Keywords: perf, Whiteboard: [SUMO-b2g][c=progress p= s= u=])

ENVIRONMENT: Flame device with Base Image v122 Version: Boot2Gecko 2.1.0.0-prerelease Build ID: 20140625040202 STEPS TO REPRODUCE: 1. Import Google + Facebook contacts 2. Go back to the Contacts app 3. Delete contacts 4. Select ALL and confirm to delete EXPECTED RESULTS: All contacts should be deleted. ACTUAL RESULTS: All contacts are deleted, but it takes a very long time. My Contacts app is deleting 976 contacts, nearing completion, and it has taken over 45 minutes so far. Please let me know if there is any information I could provide to help with the investigation and troubleshooting of this issue. Thanks!!
QA Wanted for branch checks.
Keywords: perf, qawanted
Priority: -- → P3
Whiteboard: [SUMO-b2g] → [SUMO-b2g][c=progress p= s= u=]
Hi, I've tried reproducing this bug on your exact build you listed and the following builds below with no luck. The max amount of time for deleting 1061 gmail+facebook contacts was 2 minutes. Are you still able to repro this bug? If so did you see this more than once? Thanks! This bug does NOT repro on: Flame 2.1, Flame 2.0 Actual Result: Deleting 1059 contacts takes about 2 minutes or less. Environmental Variables: Device: Flame Master Build ID: 20140710071153 Gaia: 09642e74e250fbc62db860c808ef188628fca55d Gecko: f93c0ef45597 Version: 33.0a1 (Master) Firmware Version: v122 ----------------------------------------------- Environmental Variables: Device: Flame 2.0 Build ID: 20140710094050 Gaia: 1bd6e8957ccf310b2f75ba5695b058a2e284df3a Gecko: f0e91a6bfd1b Version: 32.0a2 (2.0) Firmware Version: v122
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(rdaub)
Keywords: qawanted
QA Contact: croesch
Flags: needinfo?(jmitchell)
QA-Wanted Report: Waiting on the NI to the reporter before closing this as WFM
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(jmitchell)
Hi Joshua, I was still able to replicate on yesterday's build (July 10th), version 2.0.0.0-prerelease. On today's build (Version=2.0.0.0-prerelease, BuildID=20140711000201) the deletion process started quickly, but I was able to replicate by following these steps: 1. Open Contacts app. 2. Delete All Contacts. 3. As the contacts are being deleted, press HOME. 4. Go into the Messages app (probably works with other apps as well). 5. Go back to Contacts app. 6. Contacts are still being deleted, but very slowly (roughly 1 contact deleted every 2~4 seconds) I hope this helps. If you are still unable to repro, I can record a video with steps to replicate and timed logcat. Thanks again, - Ralph
Flags: needinfo?(rdaub)
Thanks for the updated steps! It helped me get the issue as well. This bug repro's on: Flame 2.1 Master, Flame 2.0, Buri 2.1 Actual Results: Deleting a ton of contacts slows way down if during deleting them, the user goes into another app then back to contacts app. **NOTE*** This issue cannot happen on Flame 1.4 due to no Mass Delete option for contacts. Environmental Variables: Device: Flame Master Build ID: 20140711062012 Gaia: c47094a26c87ba71a3da4bae54febd0da21f3393 Gecko: 75f66f8cb99f Version: 33.0a1 (Master) Firmware Version: v122 ----------------------------------------------- Environmental Variables: Device: Flame 2.0 BuildID: 20140710213213 Gaia: 18c44a1bc31b374ba00a069904465a8d07971a60 Gecko: f880dae4fdbe Version: 32.0a2 (2.0) Firmware Version: v122 ----------------------------------------------- Environmental Variables: Device: Buri Master Build ID: 20140711133614 Gaia: 40cac290f0a3253d31242d7f50b1d2ddd2f47cda Gecko: 84bd8d9f4256 Version: 33.0a1 (Master) Firmware Version: v1.2device.cfg
Flags: needinfo?(jmitchell)
QA-wanted report - not nomming as a blocker, seems like a bit of a fringe case on multiple levels (typical users will not have so many contacts, will not likely delete all their contacts in one go, will not likely navigate away from the contacts mid-deletion)
Flags: needinfo?(jmitchell)
I think we need a few more measurements here. Can we try doing a delete all of contacts for the two smallest reference workloads?
QA Whiteboard: [QAnalyst-Triage+]
Keywords: qawanted
Ran all scripts so you can see the spectrum of how much longer it takes as the number of contacts increases. Environmental Variables: Device: Flame Master Build ID: 20140714061512 Gaia: 88e0a972280bb35847c010b8c3f1481fa80f3847 Gecko: 340b19c14d3d Version: 33.0a1 (Master) Firmware Version: v122 On the build above, The following time measurements were taken for how long it takes to delete all contacts. First test was deleting contacts WITHOUT switching between apps. The second measurement taken is switching to the SMS app for a few seconds and back to contacts while the contacts are being deleted. 200 Contacts - Not switching between apps = 0:22 200 Contacts - Switching to SMS app and Back = 0:55 500 Contacts - Not switching between apps = 0:57 500 Contacts - Switching to SMS app and Back = 2:30 1000 Contacts - Not switching between apps = 2:25 1000 Contacts - Switching to SMS app and Back = 8:14 2000 Contacts - Not switching between apps = 5:11 2000 Contacts - Switching to SMS app and Back = 11:41
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(jmitchell)
Keywords: qawanted
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(jmitchell)
QA Whiteboard: [QAnalyst-Triage+] → [QAnalyst-Triage+][lead-review+]
Firefox OS is not being worked on
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.