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

feat: add max-items, improve list endpoints performance #470

Merged
merged 4 commits into from
May 22, 2023

Conversation

mwwoda
Copy link
Contributor

@mwwoda mwwoda commented May 19, 2023

Added max-items flag that could be used to limit number of items returned by list endpoints. Most of them should support this flag.
Improved performance of list endpoints by providing limit of 1000 by default (instead of 100 which is used by the backend if no limit is provided).

Tests for GetFolderItems for 11k records
Before: avg 133s
After: avg 85s

@mwwoda mwwoda changed the title feat: add max-items, improve list endpoints perf feat: add max-items, improve list endpoints performance May 19, 2023
@coveralls
Copy link

coveralls commented May 19, 2023

Pull Request Test Coverage Report for Build 5044056613

  • 90 of 90 (100.0%) changed or added relevant lines in 32 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.2%) to 86.339%

Totals Coverage Status
Change from base Build 5000546676: 0.2%
Covered Lines: 4052
Relevant Lines: 4548

💛 - Coveralls

Copy link
Contributor

@arjankowski arjankowski left a comment

Choose a reason for hiding this comment

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

👍

@mwwoda mwwoda merged commit 8f386f3 into main May 22, 2023
@mwwoda mwwoda deleted the sdk-2994-max-items-flag branch May 22, 2023 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants