Skip to content
This repository was archived by the owner on Nov 3, 2021. It is now read-only.

Compare performance with SIMD #2

Open
sunfishcode opened this issue Sep 8, 2017 · 2 comments
Open

Compare performance with SIMD #2

sunfishcode opened this issue Sep 8, 2017 · 2 comments
Labels

Comments

@sunfishcode
Copy link
Member

With SIMD as an active proposal, what are the expectations for the performance of future SIMD-optimized implementations of the proposed operations?

@binji
Copy link
Member

binji commented Sep 8, 2017

It's a good question. My guess is that with SIMD the performance would get pretty close, but I haven't been able to verify that.

Personally, I think that this is a common enough operation that it is useful to have an instruction rather than require the wasm module to include an optimized version. Perhaps that's not an issue, if everyone uses the same libc -- though it's likely that only the WebAssembly VM will know the optimal instruction sequence for its host architecture.

I guess I'm still a bit unsure of the utility myself. :-)

@jfbastien
Copy link
Member

This comparison, when done, should be across multiple architectures to also see which approach has better performance portability.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants