mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
440a8664de
Upgrade to GHC 9.4.5, and update any tests. PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8954 Co-authored-by: Mohd Bilal <24944223+m-Bilal@users.noreply.github.com> Co-authored-by: Samir Talwar <47582+SamirTalwar@users.noreply.github.com> Co-authored-by: Philip Lykke Carlsen <358550+plcplc@users.noreply.github.com> GitOrigin-RevId: 5261126777cb478567ea471c4bf5441bc345ea0d
17 lines
595 B
Plaintext
17 lines
595 B
Plaintext
-- 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
|