-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is a wasm-bindgen-bench crate possible today? #828
Comments
It should be possible, yes! I've been thinking about trying to port criterion over to wasm: https://docs.rs/criterion/0.2.5/criterion/ |
Woah smooth - thanks a lot for the link! I'm curious - in your mind is it more or less a straight up port or are there a bunch of wasm specific considerations that would come into play? In the meantime I'll give Should this issue be left open to maybe lay out what benchmarking support might look like? |
I haven't looked into Yeah, we can keep this issue open to discuss :) |
Does the new WASM support of |
I know that you can write your own test runners, but could you also do this:
?
The impetus here is me working on a renderer and wanted an easily compare potential performance enhancements in real browsers.
Something like this would make that trivial... but I don't know if this is even technically possible at this time?
Cheers!
The text was updated successfully, but these errors were encountered: