@@ -14,16 +14,34 @@ Here is benchmark results:
1414| SQLite | 27ms | 39ms | 28ms |
1515
1616| 2) ` query ` speed | min | max | mean |
17- | ---------------| --------| --------| --------|
18- | AsyncStorage | 1075ms | 1117ms | 1092ms |
19- | SQLite | 33ms | 39ms | 35ms |
17+ | ---------------| --------- | --------- | - --------|
18+ | AsyncStorage | 1,075ms | 1,117ms | 1,092ms |
19+ | SQLite | 33ms | 39ms | 35ms |
2020
2121 * Device: iPhone 6s
2222 * Documents: 434
2323 * Update seq: 453
2424 * Iterations: 100
2525 * Used options: ` { include_docs: true } `
2626
27+ #### On Simulator
28+
29+ * Device: iPad Pro 9.7" (Simulator) - iOS 10.3.2
30+ * Documents: 5000
31+
32+ | 3) ` bulkDocs ` speed | total | mean |
33+ | ---------------| ----------| --------|
34+ | AsyncStorage | 25.821ms | 5.16ms |
35+ | SQLite | 22.213ms | 4.44ms |
36+
37+ | 4) ` allDocs ` speed | total | mean |
38+ | ---------------| -----------| ---------|
39+ | AsyncStorage | 189,379ms | 37.87ms |
40+ | SQLite | 30,527ms | 6.10ms |
41+
42+ * ` allDocs ` options: ` { include_docs: true, attachments: true } `
43+ * Using this test [ script] ( https://gist.github.com/hnq90/972f6597a0927f45d9075b8627892783 )
44+
2745### Prerequisites
2846
2947- [ pouchdb-react-native] ( https://github.com/stockulus/pouchdb-react-native )
@@ -54,7 +72,10 @@ const db = new PouchDB('mydb.db', {adapter: 'react-native-sqlite'});
5472
5573## Changelog
5674
75+ - 1.0.2
76+ + Upgrade pouchdb-util & pouchdb-adapter-websql-core to 6.2.0
77+ + Update benchmark result
5778- 1.0.1
58- - Remove unnecessary console output
79+ + Remove unnecessary console output
5980- 1.0.0
60- - Initial release
81+ + Initial release
0 commit comments