New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating or extending search index is slow #6278
Comments
that's loading the mail (from cache or server)
that's so it's the server? since this happens on the web app and the desktop app and those use different cache implementations (the web app one is always empty on startup). Definitely worth exploring though, that's ludicrous. |
Last time I've checked it was re-downloading the same emails over and over which is not ideal obviously |
Seems to be working First Indexing {
"indexingTime": 9,
"storageTime": 147,
"preparingTime": 2590,
"mailcount": 74,
"storedBytes": 204944,
"encryptionTime": 80,
"writeRequests": 640,
"largestColumn": 231,
"words": 626,
"indexedBytes": 46689,
"downloadingTime": 2501
} Total Time: 2737 Second Indexing {
"indexingTime": 294,
"storageTime": 446,
"preparingTime": 12411,
"mailcount": 308,
"storedBytes": 2344256,
"encryptionTime": 366,
"writeRequests": 1926,
"largestColumn": 1116,
"words": 1550,
"indexedBytes": 4187640,
"downloadingTime": 11751
} Total time: 12857 |
Describe the bug
Search index creation is very slow even if there are just a few hundred emails in the inbox. I noticed that when trying to find an email in my personal mailbox that is from 8 years ago but it is also slow if i just create the initial mail index for the first 30 days.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Search index is created in a few seconds.
Additional context
Here is an example of the initial indexin
30 days, 74 mails, 50670ms
Similar results for extending the index for 30 more days.
next 30 days, 61 mails, 58618ms
The text was updated successfully, but these errors were encountered: