Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing is slow due to classpath serialization #1245

Open
nedtwigg opened this issue Jul 6, 2023 · 0 comments
Open

Importing is slow due to classpath serialization #1245

nedtwigg opened this issue Jul 6, 2023 · 0 comments

Comments

@nedtwigg
Copy link

nedtwigg commented Jul 6, 2023

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

  • clone https://github.com/equodev/eclipse-ai-example
  • run gradlew equoIde
  • it will launch an Eclipse which is importing a single project with only one dependency, and it will take 60 seconds to complete
  • if you attach VisualVM or another such tool, you can see that all the time is spent in PayloadSerializer.

Your Environment

  • Macbook Air M1, but same issue on Windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant