Is K2 expected to be much faster to compile script...
# scripting
m
Is K2 expected to be much faster to compile scripts? I tried upgrading my scripting host, but it honestly didn't seem to make much difference. Or maybe K2 isn't being used automatically in that case.
e
How did you measure it?
m
Well, it was advertised as a 2x win so I just watched to see how long it takes. But as was pointed out to me on a YT ticket, actually script compilation is dominated by "not compiling" stuff but rather things like classpath scanning, so k2 is not expected to make a different there.
e
Yeah, sorry, I should give a better context. From my experience, the Java start is taking most of the time. So my question came - how do you measure k2 compilation impact.
m
Ah I see. My host has a progress tracker that spins whilst compilation is happening and shows an animated a ticker time. So I look at that.
👍 1