Skip to content

Commit 8ddbb3f

Browse files
committed
UPDATE stats
1 parent a9c3090 commit 8ddbb3f

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,21 @@ You can reproduce these values by running `sh measure-metrics.sh` in the root fo
2323

2424
<!-- !!! DO NOT EDIT THIS TABLE DIRECTLY, IT IS GENERATED BY ./scripts/aggregate-metrics.mjs !!! -->
2525

26-
| Metric \ Project | aws | firebase | pouchdb | rxdb | watermelondb |
27-
| --------------------------------------- | ---------------- | -------------- | ----------------- | ----------------- | ----------------- |
28-
| First angular component render | 207ms | 270ms | 197ms | 201ms | 210ms |
29-
| Page load time | 294ms | 178ms | 271ms | 284ms | 293ms |
30-
| First full render | 452ms | 1475ms | 1398ms | 1454ms | 344ms |
31-
| Insert one message | 23ms | 380ms | 19ms | 128ms | 9ms |
32-
| Inserting 20 messages one after another | 651ms | 8012ms | 581ms | 1884ms | 33ms |
33-
| Inserting 20 messages in parallel | 187ms | 7039ms | 126ms | 1705ms | 1582ms |
34-
| Message insert to message list change | 59ms | 30ms | 386ms | 19ms | 4ms |
35-
| User change to message list change | 13ms | 192ms | 311ms | 282ms | 6ms |
36-
| Message search query time | 485ms | 299ms | 305ms | 90ms | 29ms |
37-
| First full render with many messages | 408ms | 1922ms | 1869ms | 2287ms | 293ms |
38-
| Storage usage | 199kb | 3478kb | 1395kb | 2311kb | 1824kb |
39-
| Bundle size, plain JavaScript | 1545kb | 915kb | 800kb | 1084kb | 895kb |
40-
| Bundle size, minified+gzip | 358kb | 224kb | 192kb | 278kb | 208kb |
26+
| Metric \ Project | aws | firebase | pouchdb | rxdb-lokijs | rxdb-pouchdb | watermelondb |
27+
| --------------------------------------- | ------ | -------- | ------- | ----------- | ------------ | ------------ |
28+
| First angular component render | 289ms | 327ms | 264ms | 207ms | 215ms | 192ms |
29+
| Page load time | 382ms | 246ms | 345ms | 290ms | 298ms | 268ms |
30+
| First full render | 560ms | 1648ms | 1585ms | 647ms | 1528ms | 315ms |
31+
| Insert one message | 47ms | 432ms | 27ms | 13ms | 26ms | 7ms |
32+
| Inserting 20 messages one after another | 747ms | 9795ms | 681ms | 1350ms | 1829ms | 32ms |
33+
| Inserting 20 messages in parallel | 340ms | 7982ms | 146ms | 1080ms | 1718ms | 1547ms |
34+
| Message insert to message list change | 89ms | 32ms | 450ms | 13ms | 25ms | 5ms |
35+
| User change to message list change | 22ms | 194ms | 349ms | 5ms | 316ms | 5ms |
36+
| Message search query time | 600ms | 408ms | 355ms | 27ms | 124ms | 28ms |
37+
| First full render with many messages | 493ms | 2308ms | 2012ms | 623ms | 2589ms | 293ms |
38+
| Storage usage | 200kb | 3250kb | 1369kb | 228kb | 2289kb | 1767kb |
39+
| Bundle size, plain JavaScript | 1573kb | 915kb | 801kb | 1083kb | 1082kb | 852kb |
40+
| Bundle size, minified+gzip | 364kb | 224kb | 192kb | 269kb | 277kb | 199kb |
4141

4242

4343
### Metrics Explanation

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
"start:aws": "http-server ./dist/aws -p 3000 -c 2592000",
3737
"start:firebase": "concurrently \"npm run server:firebase\" \"sleep 10 && http-server ./dist/firebase -p 3000 -c 2592000\"",
3838
"start:pouchdb": "concurrently \"npm run server:pouchdb\" \"http-server ./dist/pouchdb -p 3000 -c 2592000\" --kill-others --success first",
39-
"start:rxdb-pouchdb": "concurrently \"npm run server:rxdb-pouchdb\" \"http-server ./dist/rxdb -p 3000 -c 2592000\"",
40-
"start:rxdb-lokijs": "concurrently \"npm run server:rxdb\" \"http-server ./dist/rxdb-lokijs -p 3000 -c 2592000\"",
39+
"start:rxdb-pouchdb": "concurrently \"npm run server:rxdb-pouchdb\" \"http-server ./dist/rxdb-pouchdb -p 3000 -c 2592000\"",
40+
"start:rxdb-lokijs": "concurrently \"npm run server:rxdb-pouchdb\" \"http-server ./dist/rxdb-lokijs -p 3000 -c 2592000\"",
4141
"start:watermelondb": "http-server ./dist/watermelondb -p 3000 -c 2592000",
4242
"server:firebase": "concurrently \"firebase emulators:start --only firestore\" \"npm run server:firebase:import\"",
4343
"server:firebase:setup": "firebase setup:emulators:firestore",
@@ -59,7 +59,7 @@
5959
"test:aws": "PROJECT_KEY=aws concurrently \"npm run start:aws\" \"npm run test:wait-for-frontend && npm run test\" --kill-others --success first",
6060
"test:firebase": "PROJECT_KEY=firebase concurrently \"npm run start:firebase\" \"npm run test:wait-for-frontend && npm run test\" --kill-others --success first",
6161
"test:pouchdb": "PROJECT_KEY=pouchdb concurrently \"npm run start:pouchdb\" \"npm run test:wait-for-frontend && npm run test\" --kill-others --success first",
62-
"test:rxdb-pouchdb": "PROJECT_KEY=rxdb-pouchdb concurrently \"npm run start:rxdb\" \"npm run test:wait-for-frontend && npm run test\" --kill-others --success first",
62+
"test:rxdb-pouchdb": "PROJECT_KEY=rxdb-pouchdb concurrently \"npm run start:rxdb-pouchdb\" \"npm run test:wait-for-frontend && npm run test\" --kill-others --success first",
6363
"test:rxdb-lokijs": "PROJECT_KEY=rxdb-lokijs concurrently \"npm run start:rxdb-lokijs\" \"npm run test:wait-for-frontend && npm run test\" --kill-others --success first",
6464
"test:watermelondb": "PROJECT_KEY=watermelondb concurrently \"npm run start:watermelondb\" \"npm run test:wait-for-frontend && npm run test\" --kill-others --success first"
6565
},

0 commit comments

Comments
 (0)