Merge pull request #18315 from dvdksn/build-rephrase-qemu-emulation

build: rephrase perf penalty with qemu emulation
This commit is contained in:
David Karlsson 2023-10-09 12:12:27 +02:00 committed by GitHub
commit e1db0099ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 8 deletions

View File

@ -55,9 +55,8 @@ loads it through a binary registered in the `binfmt_misc` handler.
> **Note**
>
> QEMU performs full-system emulation of non-native platforms, which is much
> slower than native builds. Compute-heavy tasks like compilation and
> compression or decompression likely results in a large performance hit.
> Emulation with QEMU can be much slower than native builds, especially for
> compute-heavy tasks like compilation and compression or decompression.
>
> Use [cross-compilation](#cross-compilation) instead, if possible.

View File

@ -135,11 +135,10 @@ $ docker buildx build \
--push .
```
> **Warning**
> **Note**
>
> QEMU performs full-system emulation of non-native platforms, which is much
> slower than native builds. Compute-heavy tasks like compilation and
> compression/decompression will likely take a large performance hit.
> Emulation with QEMU can be much slower than native builds, especially for
> compute-heavy tasks like compilation and compression or decompression.
## Custom network