mirror of
https://github.com/github/semantic.git
synced 2024-12-01 00:33:59 +03:00
9eb470680f
Profiling builds are good and useful, but the fact that you have to rebuild the world when switching between profiling and and standard builds makes them too much of a timesink to actually use. This patch avoids the above effect by keeping profiling build artifacts in a `.stack-work-profiling` directory. It depends on a few other patches to ignore said directories in our vendored dependencies. To test, install `profiteur` and `hp2pretty`, run `script/profile "parse $SOME_SOURCE_FILE"`, then break for lunch. You should get nice information from the profiling system without recompiling on further `stack build` invocations. I learned this from [Matt Parsons](https://twitter.com/mattoflambda/status/997599878216802305).
30 lines
251 B
Plaintext
30 lines
251 B
Plaintext
.DS_Store
|
|
|
|
.stack-work
|
|
.stack-work-profiling
|
|
profiles
|
|
tags
|
|
|
|
cabal.project.local
|
|
dist
|
|
dist-newstyle
|
|
.ghc.environment.*
|
|
|
|
tmp/
|
|
bin/
|
|
|
|
/test/fixtures/*/examples
|
|
|
|
*.hp
|
|
*.prof
|
|
*.pyc
|
|
|
|
/test.*
|
|
/*.html
|
|
|
|
.bundle/
|
|
.licenses/vendor/gems
|
|
.licenses/log/
|
|
|
|
codex.tags
|