nehaarya2003 / moloko

Automatically exported from code.google.com/p/moloko
GNU General Public License v3.0
0 stars 0 forks source link

Sync takes abnormally long time to complete #74

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use the inbuilt synchronize now feature

What version of the product are you using? On what operating system?
Moloko beta 0.16.2b running on Android 2.3.6 

Please provide any additional information below.
I use this app while I am connected to a 4mbps wifi connection. Clicking on 
sync takes more than 5 minutes to complete ( as compared to 3 seconds of the 
official RTM app). As a result the app hold partial wakelocks and results in 
battery drain. Even though the sync is successful, the app consumer 18 minutes 
of CPU cycle when used for just 3 hours.

Original issue reported on code.google.com by pradeep....@gmail.com on 6 Jun 2012 at 11:04

GoogleCodeExporter commented 8 years ago
Does it always takes so long? How many tasks/list/contacts and so on do you 
have?

Basically, the tasks are synced on a delta basis. If nothing changes, nothing 
will be synced. But the other stuff like Lists/Notes/... can not be queried 
with changes only. They have to be synced full. Perhaps offical RTM uses 
another API than the official.

Original comment by ronny.roehricht on 6 Jun 2012 at 11:35

GoogleCodeExporter commented 8 years ago
Yes, it always takes that long. For testing purpose, I uninstalled and 
reinstalled the app again. Here are the results.

I have ~100 tasks under "All tasks" and I have 2 custom lists, 4 tags. I don't 
have a single contact.

First sync (initialization) - 2.5 minutes
Hit the sync button within 10 seconds after the first sync - ~4 minutes

Original comment by pradeep....@gmail.com on 6 Jun 2012 at 12:02

GoogleCodeExporter commented 8 years ago
That's strange. Do you have any chance to see the logging on your device? Or 
could you send me the Moloko device log from the Settings -> Send device log?

I tested with my device over HSDPA with ~60 tasks and 10 lists and it took not 
more than 20 seconds.

Original comment by ronny.roehricht on 6 Jun 2012 at 12:29

GoogleCodeExporter commented 8 years ago
Just sent you the logs

Original comment by pradeep....@gmail.com on 6 Jun 2012 at 12:41

GoogleCodeExporter commented 8 years ago

Original comment by ronny.roehricht on 30 Mar 2014 at 10:13