graphql-engine/cabal/dev-sh-prof-time.project.local
kodiakhq[bot] b01d3a45de server: dev build modes
Add some configurations for modern profiling modes, and integration into dev.sh

These require cabal 3.8 due to the use of `import`

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7671
GitOrigin-RevId: f793f64105cfd99fb51b247fa8bc050f6d4bd23e
2023-02-08 22:43:00 +00:00

14 lines
403 B
Plaintext

-- THIS IS JUST A PLACEHOLDER FOR NOW. WE CAN ENABLE THIS AND INTEGRATE IT
-- INTO DEV.SH AFTER MOVING TO GHC 9.4
import: cabal/dev-sh-optimized.project.local
profiling: True
flags: +profiling
package *
profiling-detail: none
ghc-options: -fprof-late
-- For each module, STG will be dumped to:
-- dist-newstyle/**/*.dump-stg-final
ghc-options: -ddump-stg-final -ddump-to-file