Skip to content

Massive Editor startup time slowdown when there are a bunch of files in the workspace not being analyzed #5665

Closed
@jwren

Description

@jwren

On my mac I noticed that the editor was taking what felt like a lot of time to load. Numbers tell the story:

dart2js dir loaded with no errors, co19 directory loaded with all contents marked as Don't Analyze, with 8 editors open on startup
Time_to_start_eclipse:2055
Time_to_start_ui:43151
Time_to_analysis_complete:43152
Time_to_indexing_complete:43153

Opened it again, this time though I had closed the editors: 0 editors were open in the Editor on startup- small speed-up in the numbers
Time_to_start_eclipse:1983
Time_to_start_ui:36998
Time_to_indexing_complete:36999

On this startup I had removed the co19 directory- significantly faster startup
Time_to_start_eclipse:1816
Time_to_start_ui:8000
Time_to_analysis_complete:8001
Time_to_indexing_complete:8002

Apparently if we have a bunch of files that we aren't even analyzing we are this much slower (29 seconds)?!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions