Couch base lite 1.3.1-16 is slower than 1.1.0


#1

My android app with couchbase lite 1.1.0 is more faster than 1.3.1 version. I`m using REST API, and when a call http://localhost:5984/books3/_design/books/books.html in the webview, this process is very slow than older version (1.1.0). Any idea?

compile fileTree(dir: ‘libs’, include: [’*.jar’])
compile 'com.android.support:appcompat-v7:22.1.1’
compile 'com.couchbase.lite:couchbase-lite-android:1.1.0’
compile 'com.couchbase.lite:couchbase-lite-java-listener:1.1.0’
compile 'com.couchbase.lite:couchbase-lite-java-javascript:1.1.0’
compile ‘com.couchbase.lite:couchbase-lite-java-core:1.1.0’


#2

Could you show us the contents of the design doc?
How many documents are in the database?


#3

Thanks for reply. My design doc has about 17000 itens. The database has less than 350 docs but each within 40MB (lot attachments). This database has 2.0GB. But my app was so fast than 1.3.0. without any change, i only installed the 1.3.0. Are some think related with attachment encryption?


#4

My design doc has about 17000 itens.

What does that mean exactly? 17000 views?

Have you tried profiling the app to see what’s slow? That’s the first thing I do when I have performance problems. (But I’m not an Android developer so I can’t help you with the details of how to do CPU profiling.)