Comments (2)
An example of that.
Task 82 corresponds to the storage of an initial /sync.
Once it completes, we can see the long list of pending commits that are then processed.
2017-03-17 09:31:45.187880 Riot[5387:2383385] [MXFileStore commit] Background task #82 is complete - lasted 11652ms
2017-03-17 09:31:45.196171 Riot[5387:2383892] [MXFileStore commit] lasted 8ms for 1 rooms state
2017-03-17 09:31:45.234517 Riot[5387:2383892] [MXFileStore] saveUsers in 38ms
2017-03-17 09:31:45.242698 Riot[5387:2383892] [MXFileStore commit] lasted 8ms for metadata
2017-03-17 09:31:45.246193 Riot[5387:2383385] [MXFileStore commit] Background task #88 is complete - lasted 10242ms
2017-03-17 09:31:45.263242 Riot[5387:2383892] [MXFileStore commit] lasted 17ms for 1 rooms
2017-03-17 09:31:45.265648 Riot[5387:2383385] [MXFileStore commit] Background task #89 is complete - lasted 10162ms
2017-03-17 09:31:45.281173 Riot[5387:2383892] [MXFileStore commit] lasted 16ms for 1 rooms
2017-03-17 09:31:45.283708 Riot[5387:2383385] [MXFileStore commit] Background task #90 is complete - lasted 10133ms
2017-03-17 09:31:45.299434 Riot[5387:2383892] [MXFileStore commit] lasted 16ms for 1 rooms
2017-03-17 09:31:45.301890 Riot[5387:2383385] [MXFileStore commit] Background task #91 is complete - lasted 9976ms
2017-03-17 09:31:45.316696 Riot[5387:2383892] [MXFileStore commit] lasted 15ms for 1 rooms
2017-03-17 09:31:45.318982 Riot[5387:2383385] [MXFileStore commit] Background task #92 is complete - lasted 9981ms
2017-03-17 09:31:45.334566 Riot[5387:2383892] [MXFileStore commit] lasted 16ms for 1 rooms
2017-03-17 09:31:45.336922 Riot[5387:2383385] [MXFileStore commit] Background task #93 is complete - lasted 9957ms
2017-03-17 09:31:45.350110 Riot[5387:2383892] [MXFileStore commit] lasted 13ms for 1 rooms
2017-03-17 09:31:45.352410 Riot[5387:2383385] [MXFileStore commit] Background task #94 is complete - lasted 9788ms
2017-03-17 09:31:45.365573 Riot[5387:2383892] [MXFileStore commit] lasted 13ms for 1 rooms
2017-03-17 09:31:45.367902 Riot[5387:2383385] [MXFileStore commit] Background task #95 is complete - lasted 9786ms
2017-03-17 09:31:45.380992 Riot[5387:2383892] [MXFileStore] saveUsers in 13ms
2017-03-17 09:31:45.381440 Riot[5387:2383385] [MXFileStore commit] Background task #96 is complete - lasted 9799ms
2017-03-17 09:31:45.395292 Riot[5387:2383892] [MXFileStore commit] lasted 14ms for 1 rooms
2017-03-17 09:31:45.397549 Riot[5387:2383385] [MXFileStore commit] Background task #97 is complete - lasted 9814ms
2017-03-17 09:31:45.412270 Riot[5387:2383892] [MXFileStore commit] lasted 15ms for 1 rooms
2017-03-17 09:31:45.414617 Riot[5387:2383385] [MXFileStore commit] Background task #98 is complete - lasted 9829ms
2017-03-17 09:31:45.429228 Riot[5387:2383892] [MXFileStore commit] lasted 15ms for 1 rooms
2017-03-17 09:31:45.431620 Riot[5387:2383385] [MXFileStore commit] Background task #99 is complete - lasted 9840ms
2017-03-17 09:31:45.444093 Riot[5387:2383892] [MXFileStore] saveUsers in 12ms
2017-03-17 09:31:45.452871 Riot[5387:2383892] [MXFileStore commit] lasted 9ms for metadata
2017-03-17 09:31:45.454736 Riot[5387:2383385] [MXFileStore commit] Background task #100 is complete - lasted 8890ms
2017-03-17 09:31:45.467856 Riot[5387:2383892] [MXFileStore] saveUsers in 13ms
2017-03-17 09:31:45.477121 Riot[5387:2383892] [MXFileStore commit] lasted 9ms for metadata
2017-03-17 09:31:45.478961 Riot[5387:2383385] [MXFileStore commit] Background task #102 is complete - lasted 7682ms
2017-03-17 09:31:45.492811 Riot[5387:2383892] [MXFileStore] saveUsers in 14ms
2017-03-17 09:31:45.501824 Riot[5387:2383892] [MXFileStore commit] lasted 9ms for metadata
2017-03-17 09:31:45.503546 Riot[5387:2383385] [MXFileStore commit] Background task #104 is complete - lasted 7179ms
2017-03-17 09:31:45.516896 Riot[5387:2383892] [MXFileStore] saveUsers in 13ms
2017-03-17 09:31:45.525705 Riot[5387:2383892] [MXFileStore commit] lasted 9ms for metadata
2017-03-17 09:31:45.527465 Riot[5387:2383385] [MXFileStore commit] Background task #106 is complete - lasted 5059ms
2017-03-17 09:31:45.540875 Riot[5387:2383892] [MXFileStore] saveUsers in 13ms
2017-03-17 09:31:45.549762 Riot[5387:2383892] [MXFileStore commit] lasted 9ms for metadata
2017-03-17 09:31:45.551501 Riot[5387:2383385] [MXFileStore commit] Background task #108 is complete - lasted 4404ms
2017-03-17 09:31:45.559848 Riot[5387:2383892] [MXFileStore commit] lasted 8ms for 1 rooms
2017-03-17 09:31:46.068982 Riot[5387:2383892] [MXFileStore commit] lasted 509ms for 1 rooms state
2017-03-17 09:31:46.201230 Riot[5387:2383892] [MXFileStore commit] lasted 132ms for receipts in 1 rooms
2017-03-17 09:31:46.214190 Riot[5387:2383892] [MXFileStore commit] lasted 13ms for metadata
2017-03-17 09:31:46.217702 Riot[5387:2383385] [MXFileStore commit] Background task #110 is complete - lasted 3896ms
2017-03-17 09:31:46.226095 Riot[5387:2383892] [MXFileStore commit] lasted 8ms for 1 rooms
2017-03-17 09:31:46.711513 Riot[5387:2383892] [MXFileStore commit] lasted 485ms for 1 rooms state
2017-03-17 09:31:46.722574 Riot[5387:2383892] [MXFileStore commit] lasted 10ms for metadata
2017-03-17 09:31:46.725864 Riot[5387:2383385] [MXFileStore commit] Background task #112 is complete - lasted 3807ms
2017-03-17 09:31:46.733600 Riot[5387:2383892] [MXFileStore commit] lasted 8ms for 1 rooms
2017-03-17 09:31:47.221307 Riot[5387:2383892] [MXFileStore commit] lasted 488ms for 1 rooms state
2017-03-17 09:31:47.232654 Riot[5387:2383892] [MXFileStore commit] lasted 11ms for metadata
2017-03-17 09:31:47.235917 Riot[5387:2383385] [MXFileStore commit] Background task #114 is complete - lasted 3707ms
2017-03-17 09:31:47.248713 Riot[5387:2383892] [MXFileStore] saveUsers in 13ms
2017-03-17 09:31:47.257204 Riot[5387:2383892] [MXFileStore commit] lasted 8ms for metadata
2017-03-17 09:31:47.258934 Riot[5387:2383385] [MXFileStore commit] Background task #116 is complete - lasted 3129ms
...
from matrix-ios-sdk.
lasted 509ms for 1 rooms state
This is where IO time will be saved.
Aggregating pending commits will factorise writing for the same rooms.
from matrix-ios-sdk.
Related Issues (20)
- creating video call not initiated HOT 1
- Crash when saving read receipts
- Registration with captcha or email verification
- iOS Element App does not notify with sounds HOT 2
- build.sh script is outdated for version 0.27.2
- Crash when sending file with unrecognized extension HOT 1
- Look here, guys, I've got a tough problem, and I need your help ~ HOT 1
- Cocoapods out of date HOT 3
- Remove the libbase58 pod dependency HOT 3
- REQ: add support for Contact Key Verification HOT 1
- MXLastMessage `text` and `attributedText` are always nil HOT 1
- How to download the image
- Cannot listen events for MXUser
- https://github.com/viewvc/viewvc/
- https://github.com/matrix-org/matrix-ios-sdk
- Need Guidance on New Device Verification Steps and Best Practices for E2EE
- I want to mute audio call. audioMuted flag is not working.
- Session start error after deleting an application
- Failed to find any key to satisfy on group audio call
- Any plan to add a Privacy Manifest? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matrix-ios-sdk.