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
update jsoo for testing #1909
base: main
Are you sure you want to change the base?
update jsoo for testing #1909
Conversation
9db139a
to
7d070c5
Compare
Try with this diff diff --git a/compiler/test/dune b/compiler/test/dune
index a8b92d0c..111938bc 100644
--- a/compiler/test/dune
+++ b/compiler/test/dune
@@ -22,4 +22,4 @@
(libraries grain grain-tests.framework grain-tests.suites grain-tests.utils)
(modules test)
(js_of_ocaml
- (flags --no-sourcemap --quiet)))
+ (flags --no-sourcemap --quiet --disable use-js-string))) |
I'm wondering if the slowdown could be due to |
The current implementation:
An alternative approach can mitigate the perf issue |
Thanks @hhugo! I've cherry-picked that commit into this branch to see it in action. Any idea why this issue is only showing up now (with this upgrade)? |
js_of_ocaml-compiler.5.1.0 changed the default representation of strings. |
With the commit, you no longer need to disable |
@hhugo the tests have still gone from 3-4 minutes to 16 minutes with the newer JSOO. This seems untenable for us since our compiler binaries are produced via jsoo. Do you have any other ideas why there would be a 400% slowdown between the versions? |
opening this draft for windows CI testing purposes