=======================
DLOG
=======================
To run single threaded on macOS
$ ghc -O2 runDLog.hs -rtsopts -eventlog
$ ./runDLog input/small.txt +RTS -ls
$ ./threadscope.osx runDLog.eventlog

To run with 4 cores on macOS
$ ghc -O2 runDLog.hs -rtsopts -eventlog -threaded
$ ./runDLog input/small.txt +RTS -N4 -ls
$ ./threadscope.osx runDLog.eventlog

=======================
REGEX MATCHING
=======================
$ cd regex

To run single threaded on macOS
$ ghc -O2 runRegex.hs -rtsopts -eventlog
$ ./runRegex regex_in.txt at +RTS -s

To run with 4 cores on macOS
$ ghc -O2 runRegex.hs -rtsopts -eventlog -threaded
$ ./runRegex regex_in.txt at +RTS -N4 -s
