mirror of
https://github.com/nikita-volkov/hasql.git
synced 2024-12-27 12:35:50 +03:00
10 lines
329 B
Plaintext
10 lines
329 B
Plaintext
|
#!/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
|