Skip to content

Commit a205643

Browse files
author
Oleksandr Dzhychko
committed
test(modelql): increase the factor for acceptable performance in flowBasedFilterPerformance
The largest observed factor in CI was about 300.
1 parent 9aabc45 commit a205643

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modelql-core/src/jvmTest/kotlin/org/modelix/modelql/core/PerformanceTests.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class PerformanceTests {
3838
val query = buildMonoQuery<Int, Int> { it.filter { it.equalTo(0) } }
3939
val intRange = 1..10000
4040

41-
compareBenchmark(30, 150.0, {
41+
compareBenchmark(30, 400.0, {
4242
query.asStream(QueryEvaluationContext.EMPTY, intRange.asObservable().asStepStream(null)).count().getSynchronous()
4343
}, {
4444
intRange.asFlow().filter { it == 0 }.count()

0 commit comments

Comments
 (0)