eclipse-buildship / buildship

The Eclipse Plug-ins for Gradle project.
535 stars 171 forks source link

Importing is slow due to classpath serialization #1245

Open nedtwigg opened 1 year ago

nedtwigg commented 1 year ago

Importing a Gradle project is super slow. Even a simple project with only a single dependency on JUnit takes ~60 seconds to import on a Macbook Air M1. All of the time is going into serializing the classpath of the IDE. I'm not sure why this is necessary, but it certainly doesn't have to take 50 seconds.

image

Expected Behavior

Importing a simple Gradle project should take less than 10 seconds.

Current Behavior

Importing a simple Gradle project takes ~60 seconds.

Context

It makes importing or changing even a simple Gradle project too hard.

Steps to Reproduce

Your Environment