www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11122] New: COM server uses too much CPU

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11122

           Summary: COM server uses too much CPU
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: VisualD
        AssignedTo: nobody puremagic.com
        ReportedBy: michal.minich gmail.com


--- Comment #0 from Michal Minich <michal.minich gmail.com> 2013-09-25 05:57:37
PDT ---
It happens only when Alexander Bothe's D parsing engine is turned on. The
process uses CPU at about 40-80% or occasionally 95%, constantly, on 2 core
machine. It start up when one character is source code is changed and never
stops. It happens even when there is only one trivial D file in project. I
guess it might be because it tries to follow VisualD import settings (vibed in
this case). It does not happen for all solutions. I can investigate more
details if needed.

This makes it very limited use for me as it drains laptop battery.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 25 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11122


Rainer Schuetze <r.sagitario gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario gmx.de


--- Comment #1 from Rainer Schuetze <r.sagitario gmx.de> 2013-09-25 23:53:08
PDT ---
Last time I noticed this it was an infinite loop in the parser (the fix should
be in 37rc3). I've just tried browsing the vibe.d project, but that did not
cause any issues.
It would be good if you could isolate a file or code snippet that reproduces
this.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 25 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11122



--- Comment #2 from Rainer Schuetze <r.sagitario gmx.de> 2013-10-03 11:00:56
PDT ---
There is a new rc with a number of fixes in the D parser engine:
http://www.dsource.org/projects/visuald/browser/downloads/VisualD-v0.3.37rc4.exe
Please try that.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 03 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11122


Michal Minich <michal.minich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #3 from Michal Minich <michal.minich gmail.com> 2013-10-06 01:20:07
PDT ---
(In reply to comment #2)
 There is a new rc with a number of fixes in the D parser engine:
 http://www.dsource.org/projects/visuald/browser/downloads/VisualD-v0.3.37rc4.exe
 Please try that.
Thank you. That fixes it. After initial few seconds of high CPU usage, it goes down. Then it keeps at 0-5% when idling or changing the code. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 06 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11122



--- Comment #4 from Rainer Schuetze <r.sagitario gmx.de> 2013-10-06 03:14:52
PDT ---
(In reply to comment #3)
 After initial few seconds of high CPU usage, it goes down. Then it keeps at
 0-5% when idling or changing the code.
The initial seconds is when it parses the files found through the import paths and is to be expected. During that time completion and tool tips don't work yet. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 06 2013