An open API service indexing awesome lists of open source software.

https://github.com/igor-makarov/demolargenumberofswiftfiles

Swift compiler bug repro - lots of files cause the driver to lock up
https://github.com/igor-makarov/demolargenumberofswiftfiles

Last synced: 3 months ago
JSON representation

Swift compiler bug repro - lots of files cause the driver to lock up

Awesome Lists containing this project

README

        

# Incremental compile of one file out of 3000 hangs Swift Compiler Driver
## Bug reproduction
* Build the project several times until the build system is happy.
* Modify `DemoLargeNumberOfSwiftFiles/Dummy-Incremental.swift`, e.g. add a newline.
* Build again (incrementally).

## Observe the build times

During the build, compile and swiftmodule take just a few seconds:
![during](screenshot-during.png)

Then the build hangs and takes a lot more time. I believe this might be the driver:
![after](screenshot-after.png)