From 1643f4ebba3b4713206313a72c92d9d9bae8034b Mon Sep 17 00:00:00 2001 From: Arhan Chaudhary Date: Mon, 26 Aug 2024 01:05:05 -0400 Subject: [PATCH] blog: rewords --- .../Wasm-pack Optimization Flags you Never Knew About!.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/blog/Wasm-pack Optimization Flags you Never Knew About!.mdx b/src/content/blog/Wasm-pack Optimization Flags you Never Knew About!.mdx index 9b2b54a..e4350d3 100644 --- a/src/content/blog/Wasm-pack Optimization Flags you Never Knew About!.mdx +++ b/src/content/blog/Wasm-pack Optimization Flags you Never Knew About!.mdx @@ -174,8 +174,8 @@ These are just the "Optimization options". There exists an even *larger* list of ... ``` -I spent almost an entire day testing out the effectiveness of each flag to little avail. A lot of these flags aren't even optimizations, and the ones that are were all seemingly ineffectual. Still, I opened a [pull request](https://github.com/rustwasm/wasm-pack/pull/1423) that explicitly references the full list of available wasm-opt flags in wasm-pack's documentation to them easier to find. +I spent almost an entire day testing out the effectiveness of each flag to little avail. A lot of these flags aren't even optimizations, and the ones that are were all seemingly ineffectual. If you're looking to hyper-optimize your binaryen WebAssembly you're better off sticking with the "Optimization options" flags. You may also find useful the [optimizer cookbook](https://github.com/WebAssembly/binaryen/wiki/Optimizer-Cookbook) and the [GC optimization guidebook](https://github.com/WebAssembly/binaryen/wiki/GC-Optimization-Guidebook) from binaryen's wiki. -If you're looking to hyper-optimize your binaryen WebAssembly, Rust aside, you're better off sticking with the "Optimization options" flags. You may also find useful the [optimizer cookbook](https://github.com/WebAssembly/binaryen/wiki/Optimizer-Cookbook) and the [GC optimization guidebook](https://github.com/WebAssembly/binaryen/wiki/GC-Optimization-Guidebook) from binaryen's wiki. +Coming to think about it, this blog post doesn't have to be about wasm-pack at all, as the topic more closely concerns binaryen. I thought it was important to frame this post from a Rust point of view because of how surprisingly obscure this information is to wasm-pack users new to the WebAssembly pipeline. I have opened a [pull request](https://github.com/rustwasm/wasm-pack/pull/1423) that explicitly references the full list of available wasm-opt flags in wasm-pack's documentation to make them easier to find. Until next time!