Skip to content

Commit

Permalink
add run-profile cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
janmasrovira committed Feb 1, 2024
1 parent 540d355 commit 8373dc2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ test *filter:
fi
{{ stack }} test {{ stackArgs }} --ta "{{ testArgs }} {{ rtsFlag }} $filter"
# Run a juvix command and profile it
run-profile +cmd:
cabal run --enable-profiling juvix -- {{ cmd }} +RTS -p

# Build the juvix runtime
_buildRuntime:
cd runtime && make -j 4 -s
Expand Down

0 comments on commit 8373dc2

Please sign in to comment.