Ray Tracing, Ray Tracer, Haskell, Performance, Parallel Computing.
to say about our program behavior without threading. To enable tracing, add -eventlog to ghc-options, rebuild and then pass -l to RTS at runtime which should create ray-tracers.eventlog. Now open the generated eventlog file with threadscope as: $ threadscope ray-tracers.eventlog which will show