Skip to content

Performance problem with contest estimator that fails to create any test with 120 sec time budget #1659

@Markoutte

Description

@Markoutte

Description

Looks like there's a problem with coroutine context switching while contest estimator is working. It leads to strange problems like no tests are generated even there's enough time for it.

To Reproduce

Steps to reproduce the behavior:

  1. Set this values for contest estimator: timeLimit = 120, methodFilter = "com.google.common.primitives.Shorts.*", projectFilter = listOf("guava-26.0").
  2. Run contest estimator and wait for a result.

Expected behavior

Some test should be generated.

Actual behavior

No tests are generated.

Visual proofs (screenshots, logs, images)

Profiler shows many unrelated context switches.

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions