Skip to content

Commit

Permalink
test: print memory allocation stats for benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
mdawar committed Aug 13, 2024
1 parent e393050 commit b86f4ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ test:
go test -cover -race -count 1

benchmark:
go test -bench .
go test -bench . -benchmem
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ test *args:

# Run benchmarks
benchmark *args:
go test -bench . {{args}}
go test -bench . -benchmem {{args}}

0 comments on commit b86f4ce

Please sign in to comment.