Skip to content

Commit

Permalink
upgrade to released version of max_rss
Browse files Browse the repository at this point in the history
  • Loading branch information
acheronfail committed Jan 15, 2024
1 parent fae17ed commit fae1d99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ RUN cd && curl -fSL "$(curl -fSL https://ziglang.org/download/index.json | jq -r
&& rm zig.tar.xz
ENV PATH="/root/.zig:$PATH"

RUN cargo install --git https://github.com/acheronfail/max_rss.git --rev fae12f9
RUN cargo install max_rss --version 0.1.0

WORKDIR /var/count
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ measure what:
jq '. += {"size":"'"$(cat SIZE)"'"}' "$out" | sponge "$out"
fi

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

measure-all:
#!/usr/bin/env bash
Expand Down

0 comments on commit fae1d99

Please sign in to comment.