Hello,
I have been testing the early build of Couchbase LIte .net and its seems to be dead slow. For obvious reasons that the profiling is not done yet. Thats fine.
Found using Intel VTune that its sqlite_step command which is hogging the time.
So I decided to add these two lines to the Couchbase Lite .net build and built by myself
raw.sqlite3_exec(db, "PRAGMA synchronous = OFF");
raw.sqlite3_exec(db, "PRAGMA journal_mode = MEMORY");
the performance has improved drastically.
but this is what I have build by myself.
Does couchbase lite somehow allow us to change the configuration of sqlite?
And whether sqlite configure to "PRAGMA synchronous = OFF" and "PRAGMA journal_mode = MEMORY" is safe?
Thanks
-Sherry