static-php-cli
static-php-cli copied to clipboard
[RFC] 3.0 Updates - Parallel Building and Downloading
[RFC] 3.0 Updates - Parallel Building and Downloading
static-php-cli 2.x has downloader for all sources, but downloading them one by one is quite slow.
It's best to support parallel downloads by default:
- Calculating download artifacts
- Queue download sources
- Use fiber to call curl or git
For building, it's more complicated than downloading, since it depends on the dependency tree structure calculated by builder input, and make command always use -j$(nproc) to use all cores simuteniously, we may only reduce several minutes when parallel configuring.
If you have any question or have better suggestions, please leave comment here with quote.