Open
Description
Requested Feature
For sufficiently large repos, solc compilation can be the slowest part of testing. In those cases we should multithread compilation as much as possible. Here is a rough sketch of a potential way to achieve this?
Suggested solution
- Determine a threshold for multithreading compilation (# of sol files in repo?) that offsets any overhead
- Spin up 1 thread per file, determining dependency graph
- Hash trees/dep graph, and remove duplicate trees
- Compile the needed contracts using the existing threads, in parallel
There could be issues here that I am unaware of but documenting the thoughts I had anyway
Metadata
Metadata
Assignees
Type
Projects
Status
Todo