bevy-assets icon indicating copy to clipboard operation
bevy-assets copied to clipboard

Generating assets is slow

Open d-bucur opened this issue 10 months ago • 2 comments

Right now the job takes more than 5 minutes generating metadata. Since every asset is filled sequentially it will only get worse linearly as more assets are added. This is especially noticeable when developing locally, but might also become an issue in GitHub Actions as the quotas are reached.

On a full site redeploy for example 8m 20s out of 11m 20s are spent in the asset phase, out of which 3m are compile time and the 5m 20s are running the generation.

The proposed solution is to parallelize metadata requests as much as possible while trying to not hit service throttling limits.

Edit: my bad, this should probably have been opened in the bevy-website repository.

d-bucur avatar Aug 22 '23 14:08 d-bucur