In my test - https://github.com/msink/kotlin-pi - Kotlin/Native 0.6 is approx. 1.4 times slower than C.
But master version - not yet released - performs almost same as C.
👍 5
s
spierce7
04/21/2018, 3:10 AM
I thought you guys had requested that it not be compared in benchmarks as it's EAP and hasn't gone through optimizations. My question was to try and get a feel for when you feel the compiler will be properly optimized and would be ready for testing.
o
olonho
04/21/2018, 8:48 AM
For that I guess something after 0.8 would make sense (when escape analysis be enabled and fine tuned). But you could check performance with upcoming 0.7, there shall be some improvements