mirror of
https://github.com/nikita-volkov/hasql.git
synced 2024-11-23 10:42:19 +03:00
10 lines
329 B
Bash
Executable File
10 lines
329 B
Bash
Executable File
#!/bin/bash
|
|
set -eo pipefail
|
|
|
|
cabal build profiling --ghc-options="-eventlog"
|
|
cd dist
|
|
build/profiling/profiling simple +RTS -N2 -ls -RTS
|
|
ghc-events-analyze --timed --bucket-width 2 --bucket-height 14 --ms --tick-every 10 --buckets 500 --window Session profiling.eventlog
|
|
open profiling.0.timed.svg
|
|
threadscope profiling.eventlog
|