Skip to content

Commit

Permalink
return child exit code when using max_rss
Browse files Browse the repository at this point in the history
  • Loading branch information
acheronfail committed Jan 17, 2024
1 parent fae124a commit fae1cf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ measure what:
jq '. += {"size":"'"$(cat SIZE)"'"}' "$out" | sponge "$out"
fi

max_rss -o STATS -- $(cat CMD)
max_rss -ro STATS -- $(cat CMD)
jq '. += {"max_rss": '$(cat STATS)'}' "$out" | sponge "$out"

measure-all:
Expand Down

0 comments on commit fae1cf8

Please sign in to comment.