You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, so this is a known issue, and has already been fixed.
The fix will be included in 3.5.1 (and is already available in 3.5.1-RC2).
For 3.5.0, on Windows (and only on Windows) the scala script is passing the --cli-version param to work around some other problems, as a result of which we are delegating the runner to a JVM launcher (launched by the windows native launcher).
This is bound to be slow.
We have done that initially to work around some other limitations (namely, support for JVM <17 and the requirement for a Scala CLI launcher to be >=30 days old to be sure it has already been verified by Microsoft), but we have abandoned this solution since then.
This behaviour was removed in #21234 and then backported to 3.5.1-RC2.
You can test this via the coursier installation:
Compiler version
v3.5.0
Minimized code
hello.sc
println("hello")
timeit.bat
Output
Expectation
The performance should be roughly the same
The text was updated successfully, but these errors were encountered: