almond-sh/almond

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

LeeMoonCh opened this issue · 1 comments

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" }

Doesn't anyone look at this question?