dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.2k stars 1.57k forks source link

Unacceptable editor performance #8927

Closed stevemessick closed 9 years ago

stevemessick commented 11 years ago

With M2 I was experiencing occasional awkward hesitations when it is impossible to finish an editing operation. Now I have updated (forced to) and I will say that I cannot live with the awkwardness as it is.

Perhaps I need a faster computer or more memory or?

My system is Ubuntu 32Bit, 4G Memory, Intel Quad at I think about 1.33 MH. It was pretty fast a few years ago, perhaps this is not fast enough now?

The Project I am working on is in 8 Libraries with some over 2,000 lines must most not, I think now maybe 9,000 lines of Dart Code - NO JS, very few additional dependencies...

The Process Monitor shows that "even sitting" that the Dart Editor is using multiple cores to the maximum on a regular basis when doing Edits into the Project Code.

I am not sure what to do, perhaps there is a fix coming for this situation?

Sincerely,

George Koller //////////////////////////////////////////////////////////////////////////////////// Editor: 0.4.0_r18915 (2013-02-22) OS: Linux - i386 (2.6.32-42-generic) JVM: 1.6.0_26

projects: 25

open dart files: 7

auto-run pub: true mem max/total/free: 967 / 967 / 127 MB thread count: 29 analysis: 0 tasks, 395 libraries, 22 contexts index: 93142 relationships and 0 attributes in 16274 elements in 217 resources stored in 2 MB on disk

SDK installed: true Dartium installed: true

danrubel commented 11 years ago

We have addressed some performance issues in the build that just went out... hopefully that helps. In addition, edit you DartEditor.ini file to increase the memory to 2G.


Added NeedsInfo label.

danrubel commented 11 years ago

This has been addressed as part of the move to the new analyzer... its much faster :-)


Added Fixed label.