File tree Expand file tree Collapse file tree 6 files changed +54
-28
lines changed
plutus-profiled-plugin-test Expand file tree Collapse file tree 6 files changed +54
-28
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ stack.yaml.lock
4848* .dyn_hi
4949* .chi
5050* .chs.h
51- * .prof
5251.liquid /
5352
5453# Agda
Original file line number Diff line number Diff line change 2222 } ] ;
2323 ghc96-plugin = {
2424 ghcOverride = pkgs . haskell-nix . compiler . ghc967 . override {
25- extraFlavourTransformers = [ "+profiled_ghc+no_dynamic_ghc" ] ;
25+ extraFlavourTransformers = [ "perf +profiled_ghc+debug_info +no_dynamic_ghc" ] ;
2626 ghc-patches = [ ./profiled-ghc-964.patch ] ;
2727 } ;
2828 modules = [ {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ ghc \
2+ -package-env=- \
3+ --make \
4+ -fbuilding-cabal-package \
5+ -O \
6+ -prof \
7+ -fprof-auto-exported \
8+ -osuf \
9+ p_o \
10+ -hisuf \
11+ p_hi \
12+ -outputdir \
13+ /Volumes/Repos/plutus/worktrees/profiled-ghc/dist-newstyle/build/x86_64-osx/ghc-9.6.7/plutus-profiled-plugin-test-0.1.0.0/build \
14+ -odir \
15+ /Volumes/Repos/plutus/worktrees/profiled-ghc/dist-newstyle/build/x86_64-osx/ghc-9.6.7/plutus-profiled-plugin-test-0.1.0.0/build \
16+ -hidir \
17+ /Volumes/Repos/plutus/worktrees/profiled-ghc/dist-newstyle/build/x86_64-osx/ghc-9.6.7/plutus-profiled-plugin-test-0.1.0.0/build \
18+ -hiedir \
19+ /Volumes/Repos/plutus/worktrees/profiled-ghc/dist-newstyle/build/x86_64-osx/ghc-9.6.7/plutus-profiled-plugin-test-0.1.0.0/build/extra-compilation-artifacts/hie \
20+ -stubdir \
21+ /Volumes/Repos/plutus/worktrees/profiled-ghc/dist-newstyle/build/x86_64-osx/ghc-9.6.7/plutus-profiled-plugin-test-0.1.0.0/build \
22+ -i \
23+ -isrc \
24+ -i/Volumes/Repos/plutus/worktrees/profiled-ghc/dist-newstyle/build/x86_64-osx/ghc-9.6.7/plutus-profiled-plugin-test-0.1.0.0/build \
25+ -i/Volumes/Repos/plutus/worktrees/profiled-ghc/dist-newstyle/build/x86_64-osx/ghc-9.6.7/plutus-profiled-plugin-test-0.1.0.0/build/autogen \
26+ -i/Volumes/Repos/plutus/worktrees/profiled-ghc/dist-newstyle/build/x86_64-osx/ghc-9.6.7/plutus-profiled-plugin-test-0.1.0.0/build/global-autogen \
27+ -I/Volumes/Repos/plutus/worktrees/profiled-ghc/dist-newstyle/build/x86_64-osx/ghc-9.6.7/plutus-profiled-plugin-test-0.1.0.0/build/autogen \
28+ -I/Volumes/Repos/plutus/worktrees/profiled-ghc/dist-newstyle/build/x86_64-osx/ghc-9.6.7/plutus-profiled-plugin-test-0.1.0.0/build/global-autogen \
29+ -I/Volumes/Repos/plutus/worktrees/profiled-ghc/dist-newstyle/build/x86_64-osx/ghc-9.6.7/plutus-profiled-plugin-test-0.1.0.0/build \
30+ -optP-include \
31+ -optP/Volumes/Repos/plutus/worktrees/profiled-ghc/dist-newstyle/build/x86_64-osx/ghc-9.6.7/plutus-profiled-plugin-test-0.1.0.0/build/autogen/cabal_macros.h \
32+ -this-unit-id \
33+ plutus-profiled-plugin-test-0.1.0.0-inplace \
34+ -hide-all-packages \
35+ -Wmissing-home-modules \
36+ -no-user-package-db \
37+ -package-db \
38+ /Users/zeme/.cabal/store/ghc-9.6.7/package.db \
39+ -package-db \
40+ /Volumes/Repos/plutus/worktrees/profiled-ghc/dist-newstyle/packagedb/ghc-9.6.7 \
41+ -package-db \
42+ /Volumes/Repos/plutus/worktrees/profiled-ghc/dist-newstyle/build/x86_64-osx/ghc-9.6.7/plutus-profiled-plugin-test-0.1.0.0/package.conf.inplace \
43+ -package-id \
44+ base-4.18.3.0 \
45+ -package-id \
46+ ghc-9.6.7 \
47+ -XHaskell2010 \
48+ SimplePlugin \
49+ -hide-all-packages \
50+ -DXXX \
51+ +RTS -pj -hc -I0.4444 -RTS
Original file line number Diff line number Diff line change @@ -13,13 +13,3 @@ library
1313 , ghc
1414
1515 default-language : Haskell2010
16-
17- executable simple-plugin-test
18- main-is : Main.hs
19- hs-source-dirs : app
20- ghc-options : -threaded -rtsopts -with-rtsopts=-N
21- build-depends :
22- , base >= 4.9 && < 5
23- , plutus-profiled-plugin-test
24-
25- default-language : Haskell2010
Original file line number Diff line number Diff line change @@ -11,8 +11,9 @@ plugin =
1111 let getBool = do
1212 liftIO $ threadDelay 1000000
1313 return True
14+
1415 b <-
15- {-# SCC "XXXXXXXXXXXXXX " #-}
16+ {-# SCC "XXXXxXXXXXXXXXX " #-}
1617 getBool
1718 putMsgS (" I got a bool from the plugin -> " ++ show b)
1819 pure todos
You can’t perform that action at this time.
0 commit comments