-
Notifications
You must be signed in to change notification settings - Fork 126
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
[question] daemon concept #413
Comments
Hi! This is an interesting idea. I am very curious about the real gains of daemon implementation compared to the implementation without daemon. |
Startup time of compiled (.jar) script Initial startup time of not complied script: Significant slowdown of kscript seems to be due to resolution of dependency. My solution just collect Script:
First run with kscript:
First run with my experiment with running daemon:
|
Nice - 6x improvement in start-up looks very promising 👍 |
@ybznek thanks for actual minifyed timing sample! Can you please share your project as repo?
Nice concern. Do you have more ideas of isolation cases? |
While caching compiled code is great,
one of the concerns I have while trying Kotlin scripting is startup time.
What's your opinion on possibility of JVM running as daemon, ready to pickup scripts on startup?
Similar in some manner to Gradle daemon.
Some properties to clarify concept:
I believe it will give performance boost by utilizing JIT out of the box.
The text was updated successfully, but these errors were encountered: