mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 08:02:15 +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
12 lines
412 B
Plaintext
12 lines
412 B
Plaintext
-- Enable ticky profiling, powers `dev.sh graphql-engine --prof-ticky`
|
|
-- https://ghc.gitlab.haskell.org/ghc/doc/users_guide/profiling.html#using-ticky-ticky-profiling-for-implementors
|
|
--
|
|
-- run with e.g. `+RTS -r outfilepath`
|
|
|
|
import: cabal/dev-sh-optimized.project.local
|
|
|
|
program-options
|
|
ghc-options: -ticky
|
|
-- TODO doesn't seem to work with -ticky??:
|
|
ghc-options: -ddump-stg-final -ddump-to-file
|