You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Microbenchmark System.Numerics.Tests.Perf_BitOperations.PopCount_ulongis 464 % slower on Wasm #41454
Looking at the benchmark results for today an the last several days, it seems like this benchmark is now around 280 % slower on Wasm vs. Desktop interpreter. That is probably an acceptable slowdown for wasm.
Latest results . I don't know how to link to just this benchmark, so that will load all of them, which will take a while.
The BitOperations have been intrinsified on both platforms in #82827. The microbenchmark System.Numerics.Tests.Perf_BitOperations.PopCount_ulongis is about 60% slower on the Wasm than on Interpreter.
Is it expected to have decreased performance when running on Wasm?
Activity
EgorBo commentedon Aug 27, 2020
ah, can fix as part of #40069
SamMonoRT commentedon Oct 23, 2020
@EgorBo - was this fixed as part of #40069 If so, please close this issue.
naricc commentedon Oct 23, 2020
Looking at the benchmark results for today an the last several days, it seems like this benchmark is now around 280 % slower on Wasm vs. Desktop interpreter. That is probably an acceptable slowdown for wasm.
Latest results . I don't know how to link to just this benchmark, so that will load all of them, which will take a while.
naricc commentedon Nov 4, 2020
@EgorBo I think we can close this out unless there is any follow up that need to be done?
EgorBo commentedon Nov 4, 2020
@SamMonoRT @naricc #40069 wasn't merged so that must be something else I guess.
11 remaining items
lewing commentedon Jul 25, 2022
@SamMonoRT lets triage this properly when 8 starts
lewing commentedon Jul 11, 2023
@kotlarmilos is there a status update on this?
kotlarmilos commentedon Jul 11, 2023
The BitOperations have been intrinsified on both platforms in #82827. The microbenchmark
System.Numerics.Tests.Perf_BitOperations.PopCount_ulongisis about 60% slower on the Wasm than on Interpreter.Is it expected to have decreased performance when running on Wasm?
lewing commentedon Jul 17, 2023
WasmBase was being incorrectly disabled and that was fixed in #88523 lets make sure we have accurate numbers for this now
radekdoulik commentedon Jul 17, 2023
@kotlarmilos what is the configuration with 464% perf. Is it aot or interpreter on wasm?
edit: or actually these 60% you measured.
lewing commentedon Jul 17, 2023
@kg is there a jiterpreter intrinsic for i64.popcnt ?
lewing commentedon Jul 17, 2023
I see there is
kotlarmilos commentedon Jul 20, 2023
@radekdoulik Sorry for the late reply, it is wasm interpreter.
lewing commentedon Jul 21, 2023
We looked into this and consider it closed