Skip to content
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

Installing the Scala kernel in standalone mode can execute code 5X slower than normal mode!! #1244

Open
LeeMoonCh opened this issue Sep 5, 2023 · 1 comment

Comments

@LeeMoonCh
Copy link

when I use normal mode install almond.
eg: ./coursier launch --fork almond:0.14.0-RC11 --scala 2.12.11 -- --install --force
excute this code using 1s finished.
image
but when use
coursier bootstrap --standalone \ almond:0.14.0-RC11 --scala 2.12.11\ -o almond
to generate a standalone app named almond.
then use almond --install --force to install almond.
excute this code using 4-5s finished
image

I find normal mode's kernel.json:
{ "argv": [ "java", "-cp", "/root/.local/share/jupyter/kernels/scala/launcher.jar", "coursier.bootstrap.launcher.Launcher", "--connection-file", "{connection_file}" ], "display_name": "Scala", "language": "scala" }

but standalone mode's kernel.json:
{ "argv": [ "java", "-cp", "/root/.local/share/jupyter/kernels/scala/launcher.jar", "coursier.bootstrap.launcher.ResourcesLauncher", "--connection-file", "{connection_file}" ], "display_name": "Scala", "language": "scala" }

@LeeMoonCh
Copy link
Author

Doesn't anyone look at this question?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant