Skip to content

Commit 1cec03a

Browse files
committed
And master diff
1 parent 7554b4c commit 1cec03a

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/diff.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,16 @@ jobs:
1515
- uses: actions/checkout@v2
1616
- name: Install benchstat
1717
run: go install golang.org/x/perf/cmd/benchstat@latest
18-
- name: Diff
19-
run: benchstat new.txt
18+
2019
- name: Benchmark
2120
run: go test -bench=. -benchmem -run=^$ -count=20 -timeout=30m | tee new.txt
21+
22+
- name: Checkout master
23+
uses: actions/checkout@v2
24+
with:
25+
ref: master
26+
- name: Benchmark
27+
run: go test -bench=. -benchmem -run=^$ -count=20 -timeout=30m | tee old.txt
28+
29+
- name: Diff
30+
run: benchstat old.txt new.txt

0 commit comments

Comments
 (0)