All Kotlin benchmarks

Current benchmark data was generated on Sun Oct 17 2021, full log can be found HERE

CONTRIBUTIONS are WELCOME!

binarytrees

Input: 18

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.kt 832ms 14ms 517.3MB 793ms 183ms Kotlin/jvm 17

Input: 14

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.kt 103ms 2.6ms 69.7MB 97ms 23ms Kotlin/jvm 17
1.kt 426ms 4.6ms 71.1MB 373ms 33ms Kotlin/Native 1.5.31

helloworld

Input: QwQ

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.kt 4.2ms 2.3ms 2.3MB 0ms 0ms Kotlin/Native 1.5.31
1.kt 75ms 2.5ms 39.6MB 68ms 8ms Kotlin/jvm 17

nbody

Input: 5000000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.kt 608ms 3.2ms 40.2MB 627ms 10ms Kotlin/jvm 17
1.kt 1411ms 0.6ms 2.3MB 1400ms 0ms Kotlin/Native 1.5.31

Input: 500000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.kt 145ms 2.4ms 3.2MB 130ms 0ms Kotlin/Native 1.5.31
1.kt 147ms 5.4ms 40.2MB 163ms 10ms Kotlin/jvm 17

coro-prime-sieve

Input: 4000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.kt 2746ms 14ms 251.5MB 3353ms 113ms Kotlin/jvm 17
2.kt 2952ms 210ms 290.9MB 5330ms 127ms Kotlin/jvm 17

Input: 1000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.kt 625ms 76ms 84.1MB 1047ms 47ms Kotlin/jvm 17
2.kt 971ms 117ms 94.4MB 1710ms 40ms Kotlin/jvm 17

http-server

Input: 500

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.kt 3761ms 474ms 196.9MB 4320ms 313ms Kotlin/jvm 17

json-serde

Input: sample 5000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.kt 1149ms 121ms 168.5MB 1853ms 90ms Kotlin/jvm 17

pidigits

Input: 4000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.kt 1766ms 17ms 631.7MB 1810ms 220ms Kotlin/jvm 17