buggins / dlangide

D language IDE based on DlangUI
Boost Software License 1.0
451 stars 56 forks source link

Feels slow on Mac #82

Open GanMatt opened 8 years ago

GanMatt commented 8 years ago

Uses 100% CPU when highlighting text. Not snappy.

keywan-ghadami commented 8 years ago

Do you know if this issue comes from a recent update?

buggins commented 8 years ago

let me check

buggins commented 8 years ago

Works ok on my Mac Mini. Both recent ~master for dlangui and dlangide. Updated dlangui dependency version. Could you try dub upgrade --force-remove and then dub build? Could you check in logs if OpenGL is initialized properly? Are you building with DUB or MonoDevelop? In MonoDevelop probably X11 config is selected (DebugX11) - OpenGL does not work in X11 backend on Mac - switch to Debug.

GanMatt commented 8 years ago

Followed your instructions. Running via DUB. 2015-12-26 15:44:27.747 I Trying to create OpenGL 3.2 context 2015-12-26 15:44:27.750 I Created successfully

25% CPU usage idle. 100% CPU when highlighting.

Video: https://www.youtube.com/watch?v=vxxgBWr0LHE