File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -52,11 +52,18 @@ jobs:
52
52
run : make test/performance > benchmark-pr.txt
53
53
54
54
- name : " Compare results"
55
- run : make bench/compare > performance-report.md
55
+ run : |
56
+ echo -e \
57
+ "# Perf tests comparison: \`${{ github.event.repository.default_branch }}\` VS \`${{ github.ref_name }}\`\n" \
58
+ > performance-report.md
59
+ make bench/compare >> performance-report.md
56
60
57
61
- uses : " mshick/add-pr-comment@v2"
58
62
with :
59
63
message-path : " performance-report.md"
64
+ message-id : " performance-comment-pr-${{github.event.pull_request.number }}"
65
+ refresh-message-position : true
66
+
60
67
61
68
update-performance-cache :
62
69
if : ${{ github.event_name == 'push' && github.ref_name == github.event.repository.default_branch }}
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ bench/prepare:
23
23
24
24
old_bench ?= benchmark-master.txt
25
25
new_bench ?= benchmark-pr.txt
26
- alert_threshold ?= 5
26
+ alert_threshold ?= 7
27
27
aggregation_method ?= "mean"
28
28
29
29
bench/compare :
You can’t perform that action at this time.
0 commit comments