-
Notifications
You must be signed in to change notification settings - Fork 310
Performance boost #4452
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
Performance boost #4452
Conversation
4750a2c to
e0cda3c
Compare
206ae4f to
53cb486
Compare
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
53cb486 to
ef0f84d
Compare
Signed-off-by: Julius Härtl <jus@bitgrid.net>
ef0f84d to
b4de6a8
Compare
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3fb416d to
28a9c66
Compare
| use OCP\IUser; | ||
| use OCP\IUserManager; | ||
|
|
||
| class User extends RelationalObject { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd love it if we could get that RelationalObject goodness into server at some point, seems very useful!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not too happy anymore with the approach and think it should actually be decoupled from the entity itself. I'm more in favour of having separate Model classes in the future like Talk has.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, will have a look at that
| const baseCount = parseInt(myOutput, 10) | ||
| const absoluteIncrease = queryCount - baseCount | ||
| const relativeIncrease = baseCount <= 0 ? 100 : (parseInt((absoluteIncrease / baseCount * 10000), 10) / 100) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we print these stats to stdout just for curiosity?
|
How much impact do these changes have? out of curiosity? |
|
Added summary of the saved queries to the first post above each blackfire screenshot ;) |
Improvements are split into individual commits for easier review.
Overall this adds additional caching layers and groups queries where we performed them for n results into one.
ToDo
Follow up issues
Board list
Overview
Single board request
Stack list
Propfind on Deck folder (3200 incoming deck file shares)
Testing
Script to generate random board content