4 ms·
I just downloaded 1.0 and tried hello world. It took over 2 seconds. I hope that's just some kind of bug.
by edflsafoiewq 6y ago
I just downloaded 1.0 and tried hello world. It took over 2 seconds. I hope that's just some kind of bug.
- blacksmoke16 6y agoThere is a cache that was previously cold. Subsequent runs should be faster. However compile times are longer than other languages like Go.
- edflsafoiewq 6y agoIn .cache/crystal/? 2 seconds is with that. If I delete it, the next build takes 3.
- straight-shoota 6y agoNo, that's expected. The program you wrote might be minimalistic, but there is still a lot of code under the hood for the runtime. If you compile a program that's twice as complex, you should still get roughly the same build time. FWIW The compiler builds in about 30 seconds. And it's a really complex piece of software.