Scala Deb Projects
sbt Native PackagerProject mention: Why Scala is way slower than python ... and than Java too in leetcode? | reddit.com/r/scala | 2021-07-15
As others have stated, this is mainly due to the nature of the JVM. You can try using GraalVM however, which basically complies JVM bytecode to native-code avoiding startup time issues, sbt-native-packager lets you do this quite easily.
Are you hiring? Post a new remote job listing for free.