Skip to content

Commit

Permalink
add bench.commit task
Browse files Browse the repository at this point in the history
  • Loading branch information
zakuro9715 committed May 6, 2021
1 parent c682829 commit 27a48d8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions z.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ tasks:
- go run .
bench:
- go test -bench . -benchmem
bench.commit: |
z bench.write
git add benchmark.txt
git commit -m "update benchmark"
bench.write: |
txt=$(cat benchmark.txt)
Expand Down

0 comments on commit 27a48d8

Please sign in to comment.