Skip to content
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

[19] limit constructing of result objects in file search #26073

Merged
merged 1 commit into from
Mar 18, 2021

Conversation

icewind1991
Copy link
Member

Backport of #26049 to stable19

@icewind1991 icewind1991 added the 2. developing Work in progress label Mar 11, 2021
@icewind1991 icewind1991 added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Mar 12, 2021
@icewind1991 icewind1991 added this to the Nextcloud 19.0.10 milestone Mar 12, 2021
Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐘

Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

even thought we currently have no proper way of limiting the search itself, we can at least limit the construction of the result objects.

this saves about 40% of the time spend in the search request in my local testing

Signed-off-by: Robin Appelman <robin@icewind.nl>
@PVince81 PVince81 force-pushed the search-file-limit-results-19 branch from ee73220 to df77c7d Compare March 18, 2021 07:23
@PVince81
Copy link
Member

rebased for CI

@MorrisJobke MorrisJobke added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Mar 18, 2021
@MorrisJobke MorrisJobke merged commit eb749b3 into stable19 Mar 18, 2021
@MorrisJobke MorrisJobke deleted the search-file-limit-results-19 branch March 18, 2021 12:54
@rullzer rullzer mentioned this pull request Mar 26, 2021
@rullzer rullzer mentioned this pull request Apr 8, 2021
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants