Skip to content
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

Benchmark with wasm_of_ocaml #28

Open
art-w opened this issue Feb 8, 2024 · 2 comments
Open

Benchmark with wasm_of_ocaml #28

art-w opened this issue Feb 8, 2024 · 2 comments

Comments

@art-w
Copy link
Owner

art-w commented Feb 8, 2024

As suggested by @rikusilvola, we should see huge improvements by compiling the search algorithms with wasm_of_ocaml since it's pure computation! However we don't have benchmarks to evaluate the impact of the change atm.

@OlivierNicole
Copy link

Indeed you should probably see an improvement on pure computation!

IIRC Chrome has a very good profiler built-in. Compiling to wasm should not be hard once you have a JS bundle of your application. (We also have a fork of Dune to add the wasm target even more easily.)

@EmileTrotignon
Copy link
Collaborator

This should out of the box with the right version of brr, but it will probably result in larger code size according to Jerome Vouillon.

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

No branches or pull requests

3 participants