You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It takes always about 1200ms for each query. There are only 120 entries in the data. Why should it take so long time to make a range query? Have I done something wrong?
btw., I tried to use pouchdb-find plugin as well. I found if I called createIndex before find function, the query takes less time, such as 50ms. However, createIndex call still needs 1000ms always.
If I call find function without createIndex, the query takes also 1200ms, just like map reduce query. What has createIndex done?
The text was updated successfully, but these errors were encountered:
Hi together,
I just want to ask what's the performance you have.
I did a simple test like the following code in nodejs with levelDB.
Init DB:
Query:
It takes always about 1200ms for each query. There are only 120 entries in the data. Why should it take so long time to make a range query? Have I done something wrong?
The following is the output in debug mode:
Who can give any suggestion for my query?
btw., I tried to use pouchdb-find plugin as well. I found if I called
createIndex
beforefind
function, the query takes less time, such as 50ms. However,createIndex
call still needs 1000ms always.If I call
find
function withoutcreateIndex
, the query takes also 1200ms, just like map reduce query. What hascreateIndex
done?The text was updated successfully, but these errors were encountered: