mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
b01d3a45de
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
14 lines
403 B
Plaintext
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
|