ci: add new performance-regressions job, using cmd/tools/repeat
parent
70c87137a9
commit
032a3e6b3a
|
@ -20,6 +20,29 @@ jobs:
|
||||||
# - name: Run v test-fmt
|
# - name: Run v test-fmt
|
||||||
# run: echo "TODO" #./v test-fmt
|
# run: echo "TODO" #./v test-fmt
|
||||||
|
|
||||||
|
performance-regressions:
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
env:
|
||||||
|
VFLAGS: -cc /var/tmp/tcc/bin/tcc -cflags -bt10
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Environment info
|
||||||
|
run: echo $VFLAGS $GITHUB_SHA $GITHUB_REF
|
||||||
|
- name: Build local v
|
||||||
|
run: (make -j4 && ./v -cg -o v cmd/v)
|
||||||
|
- name: Clone & Build vmaster/v
|
||||||
|
run: |
|
||||||
|
git clone --depth=1 https://github.com/vlang/v vmaster/
|
||||||
|
(cd vmaster; make -j4 && ./v -cg -o v cmd/v)
|
||||||
|
- name: V versions
|
||||||
|
run: ./v version && ./vmaster/v version
|
||||||
|
- name: Build the repeat tool
|
||||||
|
run: ./v cmd/tools/repeat.v
|
||||||
|
- name: Repeat -o v.c cmd/v
|
||||||
|
run: cmd/tools/repeat --count 10 --warmup 3 --fail_percent 10 './v -show-timings -o v.c cmd/v' './vmaster/v -show-timings -o v.c cmd/v'
|
||||||
|
- name: Repeat -o hw.c examples/hello_world.v
|
||||||
|
run: cmd/tools/repeat --count 10 --warmup 3 --fail_percent 10 './v -show-timings -o hw.c examples/hello_world.v' './vmaster/v -show-timings -o hw.c examples/hello_world.v'
|
||||||
|
|
||||||
ubuntu-tcc:
|
ubuntu-tcc:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
env:
|
env:
|
||||||
|
@ -524,4 +547,3 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: server
|
name: server
|
||||||
path: ${{github.workspace}}/reports/servers/index.html
|
path: ${{github.workspace}}/reports/servers/index.html
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue