Skip to content

Commit

Permalink
test(modelql): increase the factor for acceptable performance in `flo…
Browse files Browse the repository at this point in the history
…wBasedFilterPerformance`

The largest observed factor in CI was about 300.
  • Loading branch information
odzhychko committed Dec 6, 2024
1 parent 9aabc45 commit a205643
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class PerformanceTests {
val query = buildMonoQuery<Int, Int> { it.filter { it.equalTo(0) } }
val intRange = 1..10000

compareBenchmark(30, 150.0, {
compareBenchmark(30, 400.0, {
query.asStream(QueryEvaluationContext.EMPTY, intRange.asObservable().asStepStream(null)).count().getSynchronous()
}, {
intRange.asFlow().filter { it == 0 }.count()
Expand Down

0 comments on commit a205643

Please sign in to comment.