An app compiled with Kotlin/JS 1.8.0-Beta runs ~7%...
# javascript
r
An app compiled with Kotlin/JS 1.8.0-Beta runs ~7% slower than with Kotlin 1.7.21. It's not much, but it's noticeable in my benchmark. Should this be expected and why?
j
Do you have any reproducible example?
r
For now I could provide only compiled bundles. I'm building 1.8-beta version with a snapshot of KVision, which isn't published yet.
Kotlin 1.7.21 app - https://kotlin1721.netlify.app/ Kotlin 1.8.0-Beta app - https://kotlin18beta.netlify.app/ The app processes 10000 simple DOM nodes in a loop and prints each cycle time and the average time. Times may vary slightly depending on the system or browser load, but with a few runs it's clear the 1.8-beta version is just a bit slower.