Details
Implement linpack/Linpack benchmark in Kotlin, and put it into langs/kotlin/linpack/Linpack-JVM.kt and langs/kotlin/linpack/Linpack-Native.kt.
You MUST implement it exactly in the same way as in other language examples, without any optimizations: langs/php/linpack/Linpack.php, langs/c-plus-plus/linpack/Linpack.cpp, langs/python/linpack/Linpack.py. Add script to langs/kotlin/benchmark.yaml. Exact logical implementation is required to correctly compare multiple languages against each other.
Here are other examples of our Kotlin code: langs/kotlin/treap/Naive-JVM.kt, langs/kotlin/primes/Simple-JVM.kt. Use them to see how to collect and report execution time.
Important: For fairness in benchmarking, do not add any optimizations beyond what exists in the reference implementations.
Details
Implement
linpack/Linpackbenchmark in Kotlin, and put it intolangs/kotlin/linpack/Linpack-JVM.ktandlangs/kotlin/linpack/Linpack-Native.kt.You MUST implement it exactly in the same way as in other language examples, without any optimizations:
langs/php/linpack/Linpack.php,langs/c-plus-plus/linpack/Linpack.cpp,langs/python/linpack/Linpack.py. Add script tolangs/kotlin/benchmark.yaml. Exact logical implementation is required to correctly compare multiple languages against each other.Here are other examples of our Kotlin code:
langs/kotlin/treap/Naive-JVM.kt,langs/kotlin/primes/Simple-JVM.kt. Use them to see how to collect and report execution time.Important: For fairness in benchmarking, do not add any optimizations beyond what exists in the reference implementations.