Improves the performance of compiled WebAssembly code by informing the engine that a particular branch instruction is very likely to take a specific path. This allows the engine to make better decisions for code layout (improving instruction cache hits) and register allocation. https://github.com/WebAssembly/branch-hinting/blob/main/proposals/branch-hinting/Overview.md
None
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
None
Shipping on desktop | 136 |
Shipping on Android | 136 |
Shipping on WebView | 136 |
Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).
NoneHi all,
We are preparing to ship the WebAssembly Branch Hints proposal in M136 which has been voted to phase 4 in the Wasm Community Group last July. Chrome is now catching up with shipping it after requests from partners. The feature is already implemented in Firefox.The proposal was championed by Yuri Iozzelli from Leaning Technologies and the V8 team was not involved in its standardization process. The implementation has no effect on existing code by design which is why a Finch trial would not yield any insights. We have a Chromium feature available for a Finch kill-switch if necessary.
Thank you,Emanuel
Contact emails
ecmzi...@chromium.org, jkum...@chromium.orgExplainer
NoneSpecification
https://github.com/WebAssembly/branch-hinting/blob/main/proposals/branch-hinting/Overview.mdSummary
Improves the performance of compiled WebAssembly code by informing the engine that a particular branch instruction is very likely to take a specific path. This allows the engine to make better decisions for code layout (improving instruction cache hits) and register allocation. https://github.com/WebAssembly/branch-hinting/blob/main/proposals/branch-hinting/Overview.md
Blink component
Blink>JavaScript>WebAssemblyTAG review
NoneTAG review status
Not applicableRisks
Interoperability and Compatibility
None
Gecko: No signal
WebKit: No signal
Web developers: No signals
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAPAU7RwMXE%2BnsewWqSQ0M%2BS7gH600KjJtnp2T3Oyw8GPz4nNHg%40mail.gmail.com.
Hi all,
We are preparing to ship the WebAssembly Branch Hints proposal in M136 which has been voted to phase 4 in the Wasm Community Group last July. Chrome is now catching up with shipping it after requests from partners. The feature is already implemented in Firefox.The proposal was championed by Yuri Iozzelli from Leaning Technologies and the V8 team was not involved in its standardization process. The implementation has no effect on existing code by design which is why a Finch trial would not yield any insights. We have a Chromium feature available for a Finch kill-switch if necessary.
Thank you,Emanuel
Contact emails
ecmzi...@chromium.org, jkum...@chromium.orgExplainer
NoneSpecification
https://github.com/WebAssembly/branch-hinting/blob/main/proposals/branch-hinting/Overview.md
Summary
Improves the performance of compiled WebAssembly code by informing the engine that a particular branch instruction is very likely to take a specific path. This allows the engine to make better decisions for code layout (improving instruction cache hits) and register allocation. https://github.com/WebAssembly/branch-hinting/blob/main/proposals/branch-hinting/Overview.md
Blink component
Blink>JavaScript>WebAssemblyTAG review
NoneTAG review status
Not applicable
Risks
Interoperability and Compatibility
None
Gecko: No signal
WebKit: No signal
Web developers: No signals
Other signals:WebView application risks
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
Debuggability
None
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?
No
Flag name on about://flags
NoneFinch feature name
V8Flag_experimental_wasm_branch_hintingRequires code in //chrome?
FalseEstimated milestones
Shipping on desktop 136 Shipping on Android 136 Shipping on WebView 136 Anticipated spec changes
Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).
NoneLink to entry on the Chrome Platform Status
https://chromestatus.com/feature/5165273114738688?gate=5186994509185024This intent message was generated by Chrome Platform Status.
--
On Tue, Mar 25, 2025 at 9:49 PM Emanuel Ziegler <ecmzi...@chromium.org> wrote:Hi all,
We are preparing to ship the WebAssembly Branch Hints proposal in M136 which has been voted to phase 4 in the Wasm Community Group last July. Chrome is now catching up with shipping it after requests from partners. The feature is already implemented in Firefox.The proposal was championed by Yuri Iozzelli from Leaning Technologies and the V8 team was not involved in its standardization process. The implementation has no effect on existing code by design which is why a Finch trial would not yield any insights. We have a Chromium feature available for a Finch kill-switch if necessary.
Thank you,Emanuel
Contact emails
ecmzi...@chromium.org, jkum...@chromium.orgExplainer
NoneSpecification
https://github.com/WebAssembly/branch-hinting/blob/main/proposals/branch-hinting/Overview.mdIt seems like you put the explainer in the specification field, and didn't link to the specification. I guess the spec is at https://github.com/WebAssembly/branch-hinting/blob/main/document/core/appendix/custom.rst ? Although I'm not sure the rendering there is quite right... is there a better URL?
Summary
Improves the performance of compiled WebAssembly code by informing the engine that a particular branch instruction is very likely to take a specific path. This allows the engine to make better decisions for code layout (improving instruction cache hits) and register allocation. https://github.com/WebAssembly/branch-hinting/blob/main/proposals/branch-hinting/Overview.md
Blink component
Blink>JavaScript>WebAssemblyTAG review
NoneTAG review status
Not applicableRisks
Interoperability and Compatibility
None
Can you expand on why you believe there are no interop and compat risks?
Gecko: No signal
WebKit: No signal
Web developers: No signals
Other signals:WebView application risks
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
Debuggability
None
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?
NoWhy not?
LGTM2
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/40a923d7-ce21-44c5-914c-1ec59d8ee5af%40chromium.org.