We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
flowBasedFilterPerformance
1 parent 9aabc45 commit a205643Copy full SHA for a205643
modelql-core/src/jvmTest/kotlin/org/modelix/modelql/core/PerformanceTests.kt
@@ -38,7 +38,7 @@ class PerformanceTests {
38
val query = buildMonoQuery<Int, Int> { it.filter { it.equalTo(0) } }
39
val intRange = 1..10000
40
41
- compareBenchmark(30, 150.0, {
+ compareBenchmark(30, 400.0, {
42
query.asStream(QueryEvaluationContext.EMPTY, intRange.asObservable().asStepStream(null)).count().getSynchronous()
43
}, {
44
intRange.asFlow().filter { it == 0 }.count()
0 commit comments