From 4fca331bb61ae0a2ce028f64f31492bcc20dc0a2 Mon Sep 17 00:00:00 2001 From: Zachary Harrold Date: Tue, 18 Mar 2025 11:01:45 +1100 Subject: [PATCH] Fix Formatting of Optimisation Table (#18375) # Objective New markdown linter doesn't like this table. ## Solution Fixed it. ## Testing CI --- docs-template/EXAMPLE_README.md.tpl | 16 ++++++++-------- examples/README.md | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/docs-template/EXAMPLE_README.md.tpl b/docs-template/EXAMPLE_README.md.tpl index fd5c9aa014..a5438464b3 100644 --- a/docs-template/EXAMPLE_README.md.tpl +++ b/docs-template/EXAMPLE_README.md.tpl @@ -304,14 +304,14 @@ may not be worth keeping due to compilation time increases. For a small project with a basic 3d model and two lights, the generated file sizes are, as of July 2022, as follows: -|profile | wasm-opt | no wasm-opt | -|----------------------------------|----------|-------------| -|Default | 8.5M | 13.0M | -|opt-level = "z" | 6.1M | 12.7M | -|"z" + lto = "thin" | 5.9M | 12M | -|"z" + lto = "fat" | 5.1M | 9.4M | -|"z" + "thin" + codegen-units = 1 | 5.3M | 11M | -|"z" + "fat" + codegen-units = 1 | 4.8M | 8.5M | +profile | wasm-opt | no wasm-opt +----------------------------------|----------|------------- +Default | 8.5M | 13.0M +opt-level = "z" | 6.1M | 12.7M +"z" + lto = "thin" | 5.9M | 12M +"z" + lto = "fat" | 5.1M | 9.4M +"z" + "thin" + codegen-units = 1 | 5.3M | 11M +"z" + "fat" + codegen-units = 1 | 4.8M | 8.5M ### Loading Assets diff --git a/examples/README.md b/examples/README.md index b8cd2c891b..053e522ab9 100644 --- a/examples/README.md +++ b/examples/README.md @@ -803,14 +803,14 @@ may not be worth keeping due to compilation time increases. For a small project with a basic 3d model and two lights, the generated file sizes are, as of July 2022, as follows: -|profile | wasm-opt | no wasm-opt | -|----------------------------------|----------|-------------| -|Default | 8.5M | 13.0M | -|opt-level = "z" | 6.1M | 12.7M | -|"z" + lto = "thin" | 5.9M | 12M | -|"z" + lto = "fat" | 5.1M | 9.4M | -|"z" + "thin" + codegen-units = 1 | 5.3M | 11M | -|"z" + "fat" + codegen-units = 1 | 4.8M | 8.5M | +profile | wasm-opt | no wasm-opt +----------------------------------|----------|------------- +Default | 8.5M | 13.0M +opt-level = "z" | 6.1M | 12.7M +"z" + lto = "thin" | 5.9M | 12M +"z" + lto = "fat" | 5.1M | 9.4M +"z" + "thin" + codegen-units = 1 | 5.3M | 11M +"z" + "fat" + codegen-units = 1 | 4.8M | 8.5M ### Loading Assets