Bug 12355 – Visual D is slow in ~500 lines file on old PC

Status
RESOLVED
Resolution
WONTFIX
Severity
major
Priority
P2
Component
visuald
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-03-12T14:46:08Z
Last change time
2019-05-11T15:10:05Z
Keywords
performance
Assigned to
No Owner
Creator
Denis Shelomovskii
Depends on
12353

Comments

Comment #0 by verylonglogin.reg — 2014-03-12T14:46:08Z
It was reported Visual D had a major slowdown even on medium (~500 lines) files. There are people who love old slow PC-s and expect Visual D to be as fast as Visual Studio used to be. IMO it have to provide tokens highlighting, collapse regions, and autocomplete from text buffer and JSON info fast.
Comment #1 by r.sagitario — 2014-03-16T10:49:44Z
I suspect this is caused by the outlining. You might want to try disabling these in the "Colorizer" options.
Comment #2 by verylonglogin.reg — 2014-03-16T11:32:54Z
It works fine at first but then something leaks and things become slower.
Comment #3 by r.sagitario — 2017-01-24T08:03:18Z
I've found idle processing to eat much more CPU resources than expected. Please try https://github.com/dlang/visuald/releases/tag/v0.44-beta2, it reduces the frequency of idle calls as well as mostly just dealing with the current active editor.