Bug 12949 – Project compilation time increased by 64% for last half year

Status
RESOLVED
Resolution
WONTFIX
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-06-19T15:53:00Z
Last change time
2017-07-07T17:52:36Z
Assigned to
nobody
Creator
verylonglogin.reg

Comments

Comment #0 by verylonglogin.reg — 2014-06-19T15:53:40Z
I update dmd+phobos two or three times a year. Recent update changed my project compilation time from 11 sec to 18 sec (+64%). I'm not sure, but previous update probably changed it from 8 sec to 11 sec which was still acceptable. Looks like we finally have twice slower compilation time than year ago and still slowing down. Not sure is it a compiler or Phobos changes. IMO we should either fix compilation time (I have no idea how be the way) or inform D users compilation time constantly increases so they can account it deciding to update or stay with an old version.
Comment #1 by verylonglogin.reg — 2014-06-19T16:26:53Z
Please, comment here your own experience. In the best case it's just something wrong with my configuration and this is invalid.
Comment #2 by dlang-bugzilla — 2017-07-07T17:44:57Z
Unfortunately this issue is not actionable. Tracking compilation performance is something we want to do in general, but it is a very broad subject. Tracking a regression in build time of a specific project may be more directly actionable (or at least possible to investigate), but no test case has been provided. I'll close this as it was filed 3 years ago, and there doesn't seem to be much utility in leaving this open today.
Comment #3 by r.sagitario — 2017-07-07T17:49:34Z
What about "Is D slim yet?" http://digger.k3.1azy.net/trend/ produces an error for me: An error occured while loading the graph data (data/data.json) parsererror: SyntaxError: Unexpected end of JSON input
Comment #4 by dlang-bugzilla — 2017-07-07T17:51:45Z
(In reply to Rainer Schuetze from comment #3) > What about "Is D slim yet?" http://digger.k3.1azy.net/trend/ produces an > error for me: > > An error occured while loading the graph data (data/data.json) > parsererror: SyntaxError: Unexpected end of JSON input Yep, that was my effort on improving the situation with regards to the general problem. That project has been superseded by a CI system which integrated it, however I abandoned work on the CI system after being told custom CI systems are a bad idea.
Comment #5 by dlang-bugzilla — 2017-07-07T17:52:36Z
(In reply to Rainer Schuetze from comment #3) > An error occured while loading the graph data (data/data.json) > parsererror: SyntaxError: Unexpected end of JSON input BTW, that error manifests because the amount of data has grown so large that browsers now choke on it. I need to seriously refactor the front end to make it stream in data as needed from the server instead of loading it all at once.