Skip to content

Conversation

@sapphi-red
Copy link
Owner

This improves performance when there's many files.

For example, groupTargetsByDirectoryTree was taking 11.6s before this PR in https://github.com/owncloud/web/blob/0d9e7f33169ebc7061302bc351dac6d3f9308c94/vite.config.ts#L231-L254.
With this PR, it takes 1.1s. It's still slow but significantly better.

@sapphi-red sapphi-red added the enhancement New feature or request label Apr 9, 2025
@changeset-bot
Copy link

changeset-bot bot commented Apr 9, 2025

🦋 Changeset detected

Latest commit: 2c23fc9

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@sapphi-red sapphi-red merged commit 6aee6a3 into main Apr 9, 2025
8 checks passed
@sapphi-red sapphi-red deleted the perf/improve-is-subdirectory-or-equal branch April 9, 2025 09:59
@github-actions github-actions bot mentioned this pull request Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants