Skip to content

Microbenchmark System.Numerics.Tests.Perf_BitOperations.PopCount_ulongis 464 % slower on Wasm #41454

Closed

Description

@naricc

Microbenchmark System.Numerics.Tests.Perf_BitOperations.PopCount_ulongis 464 % slower on Wasm vs. desktop interpreter.

Repro Instructions for running benchmarks locally

Results page when reported.

Automated runs

Activity

  1. added
    arch-wasm
    tenet-performance
    on Aug 27, 2020
  2. added
    untriaged
    on Aug 27, 2020
  3. EgorBo commented on Aug 27, 2020

    @EgorBo
    Member

    ah, can fix as part of #40069

  4. added this to the 6.0.0 milestone on Aug 27, 2020
  5. removed
    untriaged
    on Aug 31, 2020
  6. SamMonoRT commented on Oct 23, 2020

    @SamMonoRT
    Member

    @EgorBo - was this fixed as part of #40069 If so, please close this issue.

  7. naricc commented on Oct 23, 2020

    @naricc
    ContributorAuthor

    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.

  8. naricc commented on Nov 4, 2020

    @naricc
    ContributorAuthor

    @EgorBo I think we can close this out unless there is any follow up that need to be done?

  9. EgorBo commented on Nov 4, 2020

    @EgorBo
    Member

    @SamMonoRT @naricc #40069 wasn't merged so that must be something else I guess.

  10. 11 remaining items

  11. modified the milestones: 7.0.0, 8.0.0 on Jul 25, 2022
  12. lewing commented on Jul 25, 2022

    @lewing
    Member

    @SamMonoRT lets triage this properly when 8 starts

  13. lewing commented on Jul 11, 2023

    @lewing
    Member

    @kotlarmilos is there a status update on this?

  14. kotlarmilos commented on Jul 11, 2023

    @kotlarmilos
    Member

    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?

  15. lewing commented on Jul 17, 2023

    @lewing
    Member

    WasmBase was being incorrectly disabled and that was fixed in #88523 lets make sure we have accurate numbers for this now

  16. radekdoulik commented on Jul 17, 2023

    @radekdoulik
    Member

    @kotlarmilos what is the configuration with 464% perf. Is it aot or interpreter on wasm?

    edit: or actually these 60% you measured.

  17. lewing commented on Jul 17, 2023

    @lewing
    Member

    @kg is there a jiterpreter intrinsic for i64.popcnt ?

  18. lewing commented on Jul 17, 2023

    @lewing
    Member

    @kg is there a jiterpreter intrinsic for i64.popcnt ?

    I see there is

  19. kotlarmilos commented on Jul 20, 2023

    @kotlarmilos
    Member

    @kotlarmilos what is the configuration with 464% perf. Is it aot or interpreter on wasm?

    @radekdoulik Sorry for the late reply, it is wasm interpreter.

  20. lewing commented on Jul 21, 2023

    @lewing
    Member

    We looked into this and consider it closed

  21. ghost locked as resolved and limited conversation to collaborators on Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arch-wasmarea-System.Numericstenet-performance

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions