@kotlin
Kotlin by JetBrains
4 years
Use 'measureTimedValue' to measure how much time a given piece of code runs for AND get its result. #KotlinTips
Tweet media one
8
179
720

Replies

@faakhy
🤓
4 years
@kotlin Like in JavaScript ! Very good idea 👌
1
0
0
@Mdp3030
Manish Patel (MP)
4 years
@kotlin One of the favourite in Kotlin. 👌 Find execution time now really easy
0
0
0
@SrinivasanSari2
Srinivasan Saripalli
4 years
@kotlin This is wonderful
0
0
0
@_iamzero
Sandy
4 years
@kotlin Cool !!
0
0
1
@kosherus
Lionel Kossi
4 years
@kotlin I really like this one
0
0
1
@aldoKelvianto
Aldo
3 years
@kotlin Just when I thought.. "There should be a function that measure time AND return a value", the function is already exist. Thanks, Kotlin team! This API is still experimental in 1.5 (2021), when will it become stable?
0
0
1