@@ -14,16 +14,34 @@ Here is benchmark results:
14
14
| SQLite | 27ms | 39ms | 28ms |
15
15
16
16
| 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 |
20
20
21
21
* Device: iPhone 6s
22
22
* Documents: 434
23
23
* Update seq: 453
24
24
* Iterations: 100
25
25
* Used options: ` { include_docs: true } `
26
26
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
+
27
45
### Prerequisites
28
46
29
47
- [ pouchdb-react-native] ( https://github.com/stockulus/pouchdb-react-native )
@@ -54,7 +72,10 @@ const db = new PouchDB('mydb.db', {adapter: 'react-native-sqlite'});
54
72
55
73
## Changelog
56
74
75
+ - 1.0.2
76
+ + Upgrade pouchdb-util & pouchdb-adapter-websql-core to 6.2.0
77
+ + Update benchmark result
57
78
- 1.0.1
58
- - Remove unnecessary console output
79
+ + Remove unnecessary console output
59
80
- 1.0.0
60
- - Initial release
81
+ + Initial release
0 commit comments