graphql-engine/cabal/dev-sh-prof-time.project.local

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
595 B
Plaintext
Raw Normal View History

-- Enable lower distortion time profiling, powers `dev.sh graphql-engine --prof-time`
-- See: https://downloads.haskell.org/ghc/latest/docs/users_guide/profiling.html?highlight=fprof%20late#ghc-flag--fprof-late
import: cabal/dev-sh-optimized.project.local
profiling: True
flags: +profiling
package *
profiling-detail: none
-- For each module, STG will be dumped to:
-- dist-newstyle/**/*.dump-stg-final
ghc-options: -ddump-stg-final -ddump-to-file
-- Apply late cost centers only to all local packages to minimize distortion:
program-options
ghc-options: -fprof-late