Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Brackets temporarily hangs with maxed-out CPU when closing file with long lines #1354

@peterflynn

Description

@peterflynn
  1. Open src/thirdparty/less-1.3.0.min.js
  2. Press Ctrl+W

Result: Brackets hangs for about 30 sec. One CPU core is maxed out for the whole duration.

Expected: Although there are known performance issues on files with very long lines, closing one should be very inexpensive.

Tearing down a vanilla CodeMirror instance containing the same text content is nearly instantaneous, so it's likely that Brackets is doing something else to cause the slowdown.

It also seems a little crazy that it only takes 3 sec to create the editor with this text, yet somehow takes 10x longer to throw it away later.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions