Skip to content

Read classes takes up to minutes each time #2516

Open
@alisevych

Description

@alisevych

Description

Even for a simple project with 5 classes, read classes phase take up to 10 seconds each time.

To Reproduce

  1. Install UnitTestBot plugin built from main in IntelliJ IDEA - this one was used
  2. Open UTBotJava project
  3. Generate tests for ArrayQuickSort
  4. Check how long Generate tests: read classes is displayed in progress bar

Expected behavior

It is expected that 5-10 simplest classes will be read in 0.5-1 seconds.

Actual behavior

Generate tests: read classes is displayed for 6 seconds each time.

Screenshots, logs

image

Environment

IntelliJ IDEA version - Ultimate 2023.2
Project - Gradle
JDK - 17
OS - Windows 10 Pro
CPU - 13% usage
Memory - 70%

Additional context

In TwoAnimals Spring-based project - for 1 class - it takes 10 seconds each time.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions