Skip to content

Comments

build compiler w/ optimizations to speed up test suite#6026

Merged
WalterBright merged 1 commit intodlang:masterfrom
MartinNowak:optimize_dmd_for_testing
Aug 7, 2016
Merged

build compiler w/ optimizations to speed up test suite#6026
WalterBright merged 1 commit intodlang:masterfrom
MartinNowak:optimize_dmd_for_testing

Conversation

@MartinNowak
Copy link
Member

  • we don't have any invariants in dmd, but pay quite some
    overhead for the redundant checks
  • even though dmd's backend is not that good and fairly slow
    at optimizing, the cost amortized itself over the whole test
    suite (~25% speed-up for me)
  • actually test what we ship ✓
  • at best we'd run a release build w/ assertions, but dmd
    doesn't currently support this

@MartinNowak MartinNowak force-pushed the optimize_dmd_for_testing branch 2 times, most recently from 4fff3e3 to ff11b20 Compare August 7, 2016 01:52
@codecov-io
Copy link

codecov-io commented Aug 7, 2016

Current coverage is 87.42% (diff: 100%)

No coverage report found for master at d5e6f1e.

Powered by Codecov. Last update d5e6f1e...76cc66b

@MartinNowak MartinNowak force-pushed the optimize_dmd_for_testing branch from ff11b20 to add1921 Compare August 7, 2016 01:58
- we don't have any invariants in dmd, but pay quite some
  overhead for the redundant checks
- even though dmd's backend is not that good and fairly slow
  at optimizing, the cost amortizes over the whole test suite
  (~25% speed-up for me)
- actually test what we ship ✓
- at best we'd run a release build w/ assertions, but dmd
  doesn't currently support this (required sth. like -release=assert)
@MartinNowak MartinNowak force-pushed the optimize_dmd_for_testing branch 2 times, most recently from 88da9cd to 76cc66b Compare August 7, 2016 02:31
@WalterBright WalterBright merged commit b29452e into dlang:master Aug 7, 2016
@MartinNowak MartinNowak deleted the optimize_dmd_for_testing branch August 7, 2016 05:57
ibuclaw added a commit to ibuclaw/dmd that referenced this pull request May 7, 2017
ibuclaw added a commit to ibuclaw/dmd that referenced this pull request Jun 11, 2017
ibuclaw added a commit to ibuclaw/dmd that referenced this pull request Jun 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants