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

TASK: Improve flushByTags performance #32

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

daniellienert
Copy link
Contributor

This backports the optimized code from the redis backend of the neos/cache package. (https://github.com/neos/flow-development-collection/blob/8.3/Neos.Cache/Classes/Backend/RedisBackend.php#L297)

@daniellienert
Copy link
Contributor Author

In my test environment, the optimized method saves about 30 seconds when publishing a page with ~300 nodes.

@codecov
Copy link

codecov bot commented Jul 18, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.53 ⚠️

Comparison is base (274b445) 26.81% compared to head (fcdc3d1) 26.28%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main      #32      +/-   ##
============================================
- Coverage     26.81%   26.28%   -0.53%     
- Complexity      138      140       +2     
============================================
  Files             2        2              
  Lines           399      407       +8     
============================================
  Hits            107      107              
- Misses          292      300       +8     
Impacted Files Coverage Δ
Classes/RedisBackend.php 52.70% <0.00%> (-2.17%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@daniellienert daniellienert force-pushed the task/improve-flushByTags-perfoemance branch from 11401dd to fcdc3d1 Compare July 18, 2023 20:11
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.

1 participant