Skip to content

Conversation

quantizor
Copy link

@quantizor quantizor commented Sep 1, 2025

adds the new cache functionality on top of #547

base base - best of 3
adjusted, size 500 cache 500 - best of 3

Rationale for increasing cache size is the partials it's storing are quite small and a medium-complexity website may have thousands of them. They probably won't take up much space even in volume.

>19% improvement in the cached example, essentially 10% better than the original PR.

15% of the overall total improvement in the cached example specifically is directly attributable to the cache (I also tested the cache change against main specifically with no other adjustments.)

@github-actions github-actions bot added the context-v3 Related to tailwind-merge v3 label Sep 1, 2025
This reverts commit 43792f9.
@quantizor
Copy link
Author

@dcastil split the cache change out and added some more perf notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

context-v3 Related to tailwind-merge v3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant