Questions tagged [threadscope]

ThreadScope is a graphical tool for performance profiling of parallel Haskell programs using thread profile information generated by the Glasgow Haskell compiler (GHC).

10 questions
6
votes
2 answers

Haskell gtk Install Type Conflicts

The basic problem: I'm attempting to install Haskell's gtk package using the standard mac instructions on OSX 10.10.4. Specifically, I want to run threadscope, so I need gtk. Early stages with homebrew and the gtk buildtools work fine, but when I…
4
votes
0 answers

forkIO seems to block on haskell websocket server

I'm running a haskell websocket server using Wai: application :: MVar ServerState -> Wai.Application application state = WaiWS.websocketsOr WS.defaultConnectionOptions wsApp staticApp where wsApp :: WS.ServerApp wsApp pendingConn = do …
anand
  • 87
  • 2
  • 6
4
votes
1 answer

Haskell is slower in parallel

I've been experimenting with parallelizing Haskell programs. To my surprise most of my attempts made my examples run slower, so I decided to dig into Threadscope and started following the tutorial here. In part 5 the example program sudoku3 is…
Kritzefitz
  • 2,644
  • 1
  • 20
  • 35
4
votes
0 answers

What is the workflow of threadscope in actual projects?

I have a cabal benchmark that uses criterion to generate reports, and I also need to use threadscope to revise the parallelism. I just got it setup, so it's only 4 functions, about 8 seconds of execution, and just from that the eventlog file's size…
MasterMastic
  • 20,711
  • 12
  • 68
  • 90
1
vote
2 answers

installing threadscope for mac m1?

There seems to be literally 0 info online about this. I want to install threadscope for haskell Parallelization. the pre built binaries on https://github.com/haskell/ThreadScope/releases are for x86 (intel). I tried to build the source code too, and…
izash
  • 51
  • 5
1
vote
1 answer

Threadscope's gettext.sh file interferes with git on Windows

When I run git commands, I'm noticing I get strange messages wrt a totally unrelated program, namely threadscope, which I use for obtaining information on my parallel Haskell programs. git stash ': not a valid…
Raskell
  • 158
  • 3
  • 9
0
votes
1 answer

how can I install threadscope on Windows?

Every effort of me following this https://hackage.haskell.org/package/threadscope instruction and few others ways online resulted in failure. It would be great if someone can give me some insights about it. This is my error: > cabal install…
trucpanda
  • 1
  • 1
0
votes
1 answer

SpringBoot SimpleThreadScope not keep the stored object from Filter to RestController

I have to get Language of request Http Header and store in a thread context to RestController and Service can get them by using SimpleThreadScope. But I have found that, @RestController can't get the stored object, i will create a new instance. I…
0
votes
2 answers

Stack installing cairo for threadscope

I started installing threadscope through stack (rather than cabal, is that OK? https://wiki.haskell.org/ThreadScope). threadscope requires cairo. $ stack install cairo cairo-0.13.3.1: configure -- While building package cairo-0.13.3.1 using: …
Mittenchops
  • 18,633
  • 33
  • 128
  • 246
0
votes
1 answer

Profiling with ThreadScope with command line arguments in Haskell

I understand from here that to use ThreadScope I need to compile with an eventlog and rtsoptions, eg "-rtsopts -eventlog -threaded" I am using Stack, so my compilation call looks like: $ stack ghc -- -O2 -funfolding-use-threshold=16 -optc-O3…
Mittenchops
  • 18,633
  • 33
  • 128
  • 246