Improve var name consistency in BindingBenchmark
This commit is contained in:
parent
4b745d8717
commit
534815400c
@ -39,10 +39,9 @@ class BindingBenchmark {
|
||||
|
||||
@Benchmark
|
||||
fun andThenSuccess(blackhole: Blackhole) {
|
||||
val result =
|
||||
provideX().andThen { first ->
|
||||
provideY().andThen { second ->
|
||||
Ok(first + second)
|
||||
val result = provideX().andThen { x ->
|
||||
provideY().andThen { y ->
|
||||
Ok(x + y)
|
||||
}
|
||||
}
|
||||
|
||||
@ -51,10 +50,9 @@ class BindingBenchmark {
|
||||
|
||||
@Benchmark
|
||||
fun andThenFailure(blackhole: Blackhole) {
|
||||
val result =
|
||||
provideX().andThen { first ->
|
||||
provideZ().andThen { second ->
|
||||
Ok(first + second)
|
||||
val result = provideX().andThen { x ->
|
||||
provideZ().andThen { z ->
|
||||
Ok(x + z)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user