Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Conversation

@mattt
Copy link
Contributor

@mattt mattt commented Feb 14, 2020

Related to SwiftDocOrg/SwiftSemantics#3

This update also fixes a race condition / heap corruption issue in the SwiftSyntax 0.501000.0 release. With that fixed, we can now safely parallelize the process of parsing source files. Testing locally on our fork of Alamofire, the Swift 5.2 branch is 2.3x faster than the current master.

$ git co master
$ swift build
$ time swift run swift-doc ../Alamofire/Source/
        3.21 real         2.50 user         0.21 sys

$ git co swift-5.2
$ swift build
$ time swift run swift-doc ../Alamofire/Source/
        1.36 real         3.44 user         0.20 sys

@mattt mattt merged commit 868ded0 into master Mar 28, 2020
@mattt mattt deleted the swift-5.2 branch April 4, 2020 13:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants