# Js\_of\_ocaml: OCaml's values and the structured clone algorithm

**URL:** <https://discuss.ocaml.org/t/js-of-ocaml-ocamls-values-and-the-structured-clone-algorithm/10615>\
**Category:** Learning\
**Tags:** js\_of\_ocaml\
**Created:** [October 11, 2022, 9:37pm UTC](https://discuss.ocaml.org/t/js-of-ocaml-ocamls-values-and-the-structured-clone-algorithm/10615 "2022-10-11T21:37:22Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![dbuenzli](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/dbuenzli/32/18_2.png) [@dbuenzli](https://discuss.ocaml.org/u/dbuenzli)\
**Post date:** [October 29, 2022, 2:53pm UTC](https://discuss.ocaml.org/t/js-of-ocaml-ocamls-values-and-the-structured-clone-algorithm/10615/10 "2022-10-29T14:53:06Z")

</div>

This is related but a bit OT for both the topic and the OCaml forum, but I rather have this in this topic.

I’m just wondering if anyone has experience with webworkers. I’m getting miserable performance (70s) using them in contrast to blocking the page UI thread (3s), even if I subtract the data transfert overhead of 2-3s, that still seems a bit egregious.

Not sure if I’m doing something wrong or if that’s kind of expected, anyone has a hint ?

---

_[View the full topic](https://discuss.ocaml.org/t/js-of-ocaml-ocamls-values-and-the-structured-clone-algorithm/10615)._
