FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
expr/.github/workflows/diff.yml at master · expr-lang/expr · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
expr-lang
/
expr
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
526
Star
8k
Code
Issues
57
Pull requests
34
Discussions
Actions
Security and quality
2
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
expr
/
.github
/
workflows
/
diff.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
32 lines (27 loc) · 982 Bytes
Breadcrumbs
expr
/
.github
/
workflows
/
diff.yml
Copy path
File metadata and controls
32 lines (27 loc) · 982 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name
:
diff
on
:
pull_request
:
branches
:
[ master ]
jobs
:
bench
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Setup Go 1.18
uses
:
actions/setup-go@v4
with
:
go-version
:
1.18
-
name
:
Install benchstat
#
NOTE: benchstat@latest requires go 1.23 since 2025-02-14 - this is the last go 1.18 ref
#
https://cs.opensource.google/go/x/perf/+/c95ad7d5b636f67d322a7e4832e83103d0fdd292
run
:
go install golang.org/x/perf/cmd/benchstat@884df5810d2850d775c2cb4885a7ea339128a17d
-
uses
:
actions/checkout@v3
-
name
:
Benchmark new code
run
:
go test -bench=. -benchmem -run=^$ -count=10 -timeout=30m | tee /tmp/new.txt
-
name
:
Checkout master
uses
:
actions/checkout@v3
with
:
ref
:
master
-
name
:
Benchmark master
run
:
go test -bench=. -benchmem -run=^$ -count=10 -timeout=30m | tee /tmp/old.txt
-
name
:
Diff
run
:
benchstat /tmp/old.txt /tmp/new.txt
Back
|
FazBrowse Home
|
New Git URL