Skip to content

Conversation

@ahoppen
Copy link
Member

@ahoppen ahoppen commented Nov 8, 2019

This PR adds three XCTest performance tests that test performance of the SyntaxRewriter, SyntaxVisitor and SyntaxAnyVisitor.

Since the tests are run using XCTest, I found that they are sometimes fairly unstable. However, they should serve as a good common ground to check if a change has major performance impacts.

For more accurate performance measurement, I would still recommend writing a standalone command line utility that links against SwiftSyntax and does its own measurements.

@ahoppen ahoppen requested a review from akyrtzi November 8, 2019 02:13
@ahoppen
Copy link
Member Author

ahoppen commented Nov 8, 2019

@swift-ci Please test

@swift-ci
Copy link
Contributor

swift-ci commented Nov 8, 2019

Build failed
Swift Test OS X Platform
Git Sha - 09e7578

@ahoppen
Copy link
Member Author

ahoppen commented Nov 8, 2019

@swift-ci Please test

@ahoppen ahoppen merged commit d94ab65 into swiftlang:master Nov 8, 2019
@ahoppen ahoppen deleted the performance-tests branch January 14, 2023 08:21
adevress pushed a commit to adevress/swift-syntax that referenced this pull request Jan 14, 2024
Add spaces after labels for overlooked stmt types.
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.

3 participants