summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInari Listenmaa <inari.listenmaa@gmail.com>2022-05-04 10:46:37 +0200
committerGitHub <noreply@github.com>2022-05-04 10:46:37 +0200
commit6414bc8923ddf24c65eed053d03244c054c86dcb (patch)
tree87fd30589a7cd288eb77aefe2ff14a467cbf347f
parent25dd1354c71ab9267d6fdb8ad7cf8cc7ce30812f (diff)
parentb0b2a06f3b3485e41ebfb66c2d4ebbd5dd8e6119 (diff)
Merge pull request #140 from anka-213/no-profile-bind
Don't add automatic cost centres to Data.Binary.Get
-rw-r--r--src/runtime/haskell/Data/Binary/Get.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/haskell/Data/Binary/Get.hs b/src/runtime/haskell/Data/Binary/Get.hs
index 54f17ae95..895789061 100644
--- a/src/runtime/haskell/Data/Binary/Get.hs
+++ b/src/runtime/haskell/Data/Binary/Get.hs
@@ -1,4 +1,6 @@
{-# LANGUAGE CPP, MagicHash #-}
+-- This module makes profiling a lot slower, so don't add automatic cost centres
+{-# OPTIONS_GHC -fno-prof-auto #-}
-- for unboxed shifts
-----------------------------------------------------------------------------