Search Unity

Parallelize brotli compression

Discussion in 'Editor & General Support' started by spatial_io, Jul 29, 2021.

  1. spatial_io

    spatial_io

    Joined:
    Jul 3, 2017
    Posts:
    21
    When building a WebGL target, the brotli compression step is quite slow. However, it's also sequentially compressing a few different files (wasm, data, js, symbols), but brotli itself only uses a single core.

    Could Unity run all of those brotli compression steps at the same time? That would certainly speed up build times. Is there any way I could hack the build system to make this happen?
     
    mgear likes this.