D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 12949 - Project compilation time increased by 64% for last half year
Summary: Project compilation time increased by 64% for last half year
Status: RESOLVED WONTFIX
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P1 major
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-19 15:53 UTC by Denis Shelomovskii
Modified: 2017-07-07 17:52 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Denis Shelomovskii 2014-06-19 15:53:40 UTC
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 Denis Shelomovskii 2014-06-19 16:26:53 UTC
Please, comment here your own experience. In the best case it's just something wrong with my configuration and this is invalid.
Comment 2 Vladimir Panteleev 2017-07-07 17:44:57 UTC
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 Rainer Schuetze 2017-07-07 17:49:34 UTC
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 Vladimir Panteleev 2017-07-07 17:51:45 UTC
(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 Vladimir Panteleev 2017-07-07 17:52:36 UTC
(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.