Skip to content

Revert "Improve performance of excluded files filter"#5962

Merged
SimplyDanny merged 1 commit intorealm:mainfrom
SimplyDanny:revert-exclusion-logic
Jan 15, 2025
Merged

Revert "Improve performance of excluded files filter"#5962
SimplyDanny merged 1 commit intorealm:mainfrom
SimplyDanny:revert-exclusion-logic

Conversation

@SimplyDanny
Copy link
Collaborator

This reverts commit 152355e.

Fixes #5953.

#5157 seemed promising. However, there are still details missing that need further investigation. While resolving files indeed got much faster in certain setups, it leads to missed exclusions for nested configurations and when the linted folder is not the current folder.

@SimplyDanny SimplyDanny changed the title Revert "Improve performance of excluded files filter (#5157)" Revert "Improve performance of excluded files filter" Jan 14, 2025
@SimplyDanny SimplyDanny added this to the 0.58.1 milestone Jan 14, 2025
@SwiftLintBot
Copy link

SwiftLintBot commented Jan 14, 2025

1 Warning
⚠️ Building this branch resulted in a binary size of 29488.71 KiB vs 24892.35 KiB when built on main (18% larger).
17 Messages
📖 Linting Aerial with this PR took 0.93 s vs 0.93 s on main (0% slower).
📖 Linting Alamofire with this PR took 1.26 s vs 1.27 s on main (0% faster).
📖 Linting Brave with this PR took 8.6 s vs 8.58 s on main (0% slower).
📖 Linting DuckDuckGo with this PR took 5.6 s vs 5.58 s on main (0% slower).
📖 Linting Firefox with this PR took 11.15 s vs 11.15 s on main (0% slower).
📖 Linting Kickstarter with this PR took 10.47 s vs 10.47 s on main (0% slower).
📖 Linting Moya with this PR took 0.53 s vs 0.53 s on main (0% slower).
📖 Linting NetNewsWire with this PR took 2.94 s vs 2.94 s on main (0% slower).
📖 Linting Nimble with this PR took 0.79 s vs 0.8 s on main (1% faster).
📖 Linting PocketCasts with this PR took 8.72 s vs 8.79 s on main (0% faster).
📖 Linting Quick with this PR took 0.45 s vs 0.45 s on main (0% slower).
📖 Linting Realm with this PR took 4.52 s vs 4.51 s on main (0% slower).
📖 Linting Sourcery with this PR took 2.32 s vs 2.35 s on main (1% faster).
📖 Linting Swift with this PR took 4.57 s vs 4.55 s on main (0% slower).
📖 Linting VLC with this PR took 1.24 s vs 1.24 s on main (0% slower).
📖 Linting Wire with this PR took 18.46 s vs 18.46 s on main (0% slower).
📖 Linting WordPress with this PR took 11.51 s vs 11.53 s on main (0% faster).

Generated by 🚫 Danger

This reverts commit 152355e.

# Conflicts:
#	tools/oss-check
@SimplyDanny SimplyDanny force-pushed the revert-exclusion-logic branch from 1a72687 to db71104 Compare January 14, 2025 22:11
@SimplyDanny SimplyDanny merged commit fcdc98a into realm:main Jan 15, 2025
@SimplyDanny SimplyDanny deleted the revert-exclusion-logic branch January 15, 2025 18:15
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.

Excluded syntax not working anymore in 0.58.0

2 participants