Repository navigation
Land benchmarks, site and README on main; swift-llm-check 0.5.0 - #13
Merged
Merged
Conversation
…at:) The full run without disk for 1,000 products drops from 15.4 ms to 1.7 ms and from 6,388 to 3,026 mallocs. Output is byte for byte the same.
Bump swift-llm-check to 0.5.0 and replace the local xcTestImports and disabledTests detectors with Scope.xcTestImports and Scope.disabledTests. The built-in disabledTests only matches .disabled inside @Test/@suite attributes. Drop the DetectorTests that covered the removed copies; the repo-specific detectors keep theirs.
swift-llm-check 0.5.0 never follows symbolic links to folders, so the Core symlink is no longer read twice and the exclude is redundant.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
#9 → #10 → #11 → #12 were a stack. #9 merged into
main, but #10, #11 and #12 were each merged into their parent branch instead ofmain, so their content ended up ondocs/readme-and-metadataand never reachedmain. This PR lands it: a--no-ffmerge oforigin/docs/readme-and-metadata(it merges cleanly), plus a migration ofArchitecture/to swift-llm-check 0.5.0.Contents
Benchmarks/(package-benchmark, withP50andHotspotstools andscripts/profile.sh),docs/performance.md, and the fasterXcschemeTemplaterendering and product-list hashing inCore/, with tests.site/index.htmland.github/workflows/pages.ymlfor GitHub Pages.from: "0.5.8", the latest tag.Architecture/uses the built-inScope.xcTestImportsandScope.disabledTestsin place of its own copies, and drops the detector tests that only covered those copies. The built-indisabledTestsis stricter about where it matches: only a.disabledtrait inside@Test/@Suite, so an enum case likestate = .disabled(reason)no longer counts. TheTests/SchemeGeneratorTests/Coreexclude in.llm-check.yamlis removed because 0.5.0 never follows symlinks to folders, so each Core file is read once without it. I checked the file list to confirm. Rule ids, titles anddocs/architecture-rules.mdare unchanged.Performance (from
docs/performance.md)Release build, M-series Mac, Swift 6.4, p50, before → after:
Checked locally
swift build --build-tests && swift test(16 tests)swift test --package-path Architecture(10 tests)swift build --package-path Benchmarksscripts/smoke-test.shAfter merge
No release has been cut since 0.5.8. Once this is merged:
The stale stack branches (
docs/readme-and-metadataand the #10/#11 branches) can be deleted after this merges.