- Mastering High Performance with Kotlin
- Igor Kucherenko
- 63字
- 2021-06-25 20:55:26
Kotlin benchmarks
The JetBrains team has prepared a repository on GitHub (https://github.com/JetBrains/kotlin-benchmarks) with many examples of how to use the JMH with Kotlin. This repository contains identical examples written in Java:

The repository also contains identical examples in Kotlin:

This lets us compare how fast functions written in Kotlin and Java run. If you run these benchmarks, the output will be as follows:

推薦閱讀
- Learning Neo4j
- Learning Apex Programming
- Responsive Web Design with HTML5 and CSS3
- Mastering Ubuntu Server
- 劍指MySQL:架構(gòu)、調(diào)優(yōu)與運(yùn)維
- 51單片機(jī)C語言開發(fā)教程
- Machine Learning in Java
- App Inventor創(chuàng)意趣味編程進(jìn)階
- Microsoft 365 Certified Fundamentals MS-900 Exam Guide
- Machine Learning With Go
- Hands-On Neural Network Programming with C#
- Spring 5 Design Patterns
- PostgreSQL Developer's Guide
- 計(jì)算機(jī)應(yīng)用基礎(chǔ)案例教程(第二版)
- Pandas 1.x Cookbook