Skip to content

Revert "[wasm] Add a monitoring phase to jiterpreter traces and discard unproductive ones (#83432)" - #83446

Merged
kg merged 1 commit into
dotnet:mainfrom
kg:wasm-jiterpreter-disable-monitoring
Mar 15, 2023
Merged

Revert "[wasm] Add a monitoring phase to jiterpreter traces and discard unproductive ones (#83432)"#83446
kg merged 1 commit into
dotnet:mainfrom
kg:wasm-jiterpreter-disable-monitoring

Conversation

@kg

@kgkg commented Mar 15, 2023

Copy link
Copy Markdown
Contributor

The first browser-bench run after the monitoring phase was added shows a regression in Span<byte>.Reverse, and I don't think it's feasible to fix with the distance measuring approach so it's best to back out this commit and try the monitoring phase with a different approach after P3. I suspect the problem is that some traces containing loops will execute for a while and then return a small displacement, but it's not easy to fix that.

@ghost

Copy link
Copy Markdown

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

The first browser-bench run after the monitoring phase was added shows a regression in Span<byte>.Reverse, and I don't think it's feasible to fix with the distance measuring approach so it's best to back out this commit and try the monitoring phase with a different approach after P3. I suspect the problem is that some traces containing loops will execute for a while and then return a small displacement, but it's not easy to fix that.

Author:kg
Assignees:-
Labels:

arch-wasm, area-Codegen-Jiterpreter-mono

Milestone:-

@kg
kg merged commit 95df571 into dotnet:mainMar 15, 2023
@ghostghost locked as resolved and limited conversation to collaborators Apr 15, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-wasmWebAssembly architecture

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@kg@vargaz