Open art-w opened 8 months ago
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.)
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.
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.