Skip to content

Conversation

@CarlSchwan
Copy link
Member

findBinaryFinder is now a service that is still private but with some
minor optimization (remove the hasKey check).

isFunctionEnabled is now in OCP\Util

Both functions are still kept but all internal usage in nextcloud/server
were migrated to the new usage, so we can remove it in 26.

Before: 2 redis cache requests either hasKey and get or hasKey and set

image

Now: 1 redis cache request (get) or 2 redis cache requests (get and set)

image

@CarlSchwan CarlSchwan requested a review from a team August 18, 2022 08:58
@CarlSchwan CarlSchwan self-assigned this Aug 18, 2022
@CarlSchwan CarlSchwan requested review from ArtificialOwl, blizzz and come-nc and removed request for a team August 18, 2022 08:58
@CarlSchwan CarlSchwan force-pushed the improve-binary-caching branch from b2e9370 to 8b99dbf Compare August 18, 2022 08:59
@CarlSchwan CarlSchwan force-pushed the improve-binary-caching branch 2 times, most recently from 9351f1d to 7669331 Compare August 18, 2022 10:04
@CarlSchwan CarlSchwan force-pushed the improve-binary-caching branch from 27d6950 to d253787 Compare August 23, 2022 11:05
@CarlSchwan CarlSchwan force-pushed the improve-binary-caching branch from d253787 to 338ea06 Compare August 23, 2022 12:29
@CarlSchwan CarlSchwan force-pushed the improve-binary-caching branch from 338ea06 to 746a529 Compare August 23, 2022 13:22
findBinaryFinder is now a service that is still private but with some
minor optimization (remove the hasKey check).

isFunctionEnabled is now in OCP\Util

Both function are still keep but all internal usage in nextcloud/server
were migrated to the new usage, so that we can remove it in 26

Signed-off-by: Carl Schwan <[email protected]>
@CarlSchwan CarlSchwan force-pushed the improve-binary-caching branch from 746a529 to 9b8ca9a Compare August 23, 2022 17:44
@CarlSchwan CarlSchwan merged commit bd7ab89 into master Aug 24, 2022
@CarlSchwan CarlSchwan deleted the improve-binary-caching branch August 24, 2022 11:09
@blizzz blizzz mentioned this pull request Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants