80 000 lines project and very slow, about half hour, compilation!

This code is the MAVLink protocol handler, and generated by one of the MAVLink specification.
This is mixed JAVA/Kotlin project

To check how slow kotlinc is, check this out, open in IDEA and run main in test_/Test

Half hour later it will be compiled successfully and pass the test. But half hour(!)… is it OK?

Description

/org/unirail/demo/GroundControl/ generated API

/demo_ / is generated sample of using generated API

/test_/ the test

What wrong with my Kotlin project? How can I speed up compilation?

My PC

Intel I7-7700K

RAM 32G

SSD Samsung 970 PRO

I am using latest kotlinc

1 Like

Related issue: https://youtrack.jetbrains.com/issue/KT-34204