Hi all, is a recent run of <https://github.com/arr...
# arrow
s
Hi all, is a recent run of https://github.com/arrow-kt/arrow-fx/tree/master/arrow-benchmarks-fx available anywhere? Failing that, does anybody know a) how to run it b) roughly how long it takes to run? I've not been able to run it, when I type
gradle jmh
with Java 14 in that dir gets me a
Copy code
Caused by: javax.lang.model.type.UnknownTypeException: Unknown type: "none" at com.squareup.kotlinpoet.TypeName$Companion$get$1.visitNoType(TypeName.kt:187)
trying again with java 8, I get a compilation error blob shrug
r
Hi Sam, you need JDK8 in general to build Arrow. Those benchmarks are outdated and are going to get tossed out since in our new model we no longer support map, flatMap etc nor we are attempting to optimize for the operators you frequently find in Scala in indirect style for IO.
j
Updated benchmarks for
fx-coroutines
would be nice though^^
s
@raulraja ok thanks. Is there a commit I can go back to? I am mostly interested in the cats vs zio comparison, not really the arrow bit 😬
r
this is the most recent state and it was just testing the basic combinators for composition which is about a year old and very basic https://github.com/arrow-kt/arrow-fx/tree/master/arrow-benchmarks-fx/arrow-scala-benchmarks/src/main/scala None of those are relevant to us anymore since in 0.12 we will deprecate IO and remove in 0.13. As Jannis pointed out we will do specific ones for our operators which are not concerned by things like LeftBind since we do not depend on flatMap for composition
👍 1