Description
#883 regressed swift-format’s performance by 7-8%. To reproduce run
cd /tmp
git clone https://github.com/apple/swift-syntax.git
cd swift-syntax
git checkout -f 509.0.0
cd path/to/swift-format
swift build -c release
.build/release/swift-format lint --measure-instructions --recursive /tmp/swift-syntax
And compare the instruction count between swift-format with and without #883.
Metadata
Metadata
Assignees
Labels
No labels