FS#49549 - [dub] dub should be compiled with release flags

Attached to Project: Community Packages
Opened by thayne (ender4) - Friday, 03 June 2016, 00:26 GMT
Last edited by Mihails Strasuns (Dicebot) - Friday, 03 June 2016, 13:27 GMT
Task Type General Gripe
Category Packages
Status Closed
Assigned To Mihails Strasuns (Dicebot)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Currently the dub package is compiled with options suitable for development/debugging,
but the binary package should be compiled with release flags, specifically:

`-release -O -inline` and not the `-g` flag.


This task depends upon

Closed by  Mihails Strasuns (Dicebot)
Friday, 03 June 2016, 13:27 GMT
Reason for closing:  Won't fix
Additional comments about closing:  behaves as intended
Comment by Mihails Strasuns (Dicebot) - Friday, 03 June 2016, 13:26 GMT
Not using release flags is intentional choice. Speed up is non-existent as dub performance is 100% dominated by disk and network I/O and keeping extra assertions and debug symbols means better bug reports from users if anything goes wrong.

Will reopen if you present convincing argument (i.e. benchmark) in favor of release build.

Loading...