Skip to content

Commit

Permalink
Add size task
Browse files Browse the repository at this point in the history
  • Loading branch information
uncenter authored and nickgerace committed Dec 10, 2024
1 parent 11303bc commit 8a75784
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,11 @@ scan: prepare

bench directory=('../'): build-release
hyperfine --warmup 1 'target/release/gfold {{directory}}' 'gfold {{directory}}'

size: build-release
#!/usr/bin/env bash
gdu -b target/release/gfold
binary=$(which gfold)
if [[ -n "$binary" ]]; then
gdu -b "$(realpath "$binary")"
fi

0 comments on commit 8a75784

Please sign in to comment.