@bitemyapp's Makefiles are a treasure trove of build tips. Here's a trick for profiling builds:
stack build --profile --work-dir .stack-work-profiling
This tremendously improves build caching, at the expense of disk space.
Can this be a default behavior, or at least, enabled via a global config flag or similar? It is soul crushing to have to rebuild all of the deps for a large project for profiling, and rebuild them again for normal mode.
@bitemyapp's Makefiles are a treasure trove of build tips. Here's a trick for profiling builds:
This tremendously improves build caching, at the expense of disk space.
Can this be a default behavior, or at least, enabled via a global config flag or similar? It is soul crushing to have to rebuild all of the deps for a large project for profiling, and rebuild them again for normal mode.