-
Notifications
You must be signed in to change notification settings - Fork 66
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
Startup time #131
Comments
Another wild idea (similar to planck), generate a binary via GraalVM that can 1) evaluate ClojureScript by evaluating it in self-hosted Clojurescript in Graal's ScriptEngineManager 2) and precompile it with self-hosted clojurescript + closh. Part 1) works and gives fast boot times (30ms) for a small javascript file. Step 2) doesn't work [1] . Without precompiling it and evalling ClojureScript during runtime this is slower than starting a JVM. [1] because of this I think oracle/graal#631 |
That is a really interesting idea. I don't understand too much details of step 2) but at the end of [1] it seems they have a working solution? What is the issue with running a self-hosted clojurescript in GraalJS? |
Sorry I wasn't clear.
|
Not a priority now that sci with graalvm port is coming, but it might be possible to use class data sharing to improve startup time. https://ask.clojure.org/index.php/8353/can-we-use-appcds-to-speed-up-app-start |
Explore ways to lower down the startup time.
Follow boot and see what they come up with: boot-clj/boot#106
Alternatives:
The text was updated successfully, but these errors were encountered: