File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11on :
22 schedule :
33 - cron : ' 0 0 * * 6'
4+ workflow_dispatch :
45
56jobs :
67 redox :
@@ -125,19 +126,23 @@ jobs:
125126 runs-on : ubuntu-latest
126127 steps :
127128 - uses : actions/checkout@master
129+ - run : cargo install cargo-criterion
128130 - name : collect execution benchmark data
129- run : cargo bench --bench execution
131+ run : cargo criterion --bench execution
130132 - name : collect microbenchmarks data
131- run : cargo bench --bench microbenchmarks
133+ run : cargo criterion --bench microbenchmarks
132134 - name : restructure generated files
133135 run : |
134- cd ./target/criterion
136+ cd ./target/criterion/reports
135137 find -type d -name cpython | xargs rm -rf
136138 find -type d -name rustpython | xargs rm -rf
137- find -maxdepth 2 -type d -name report | xargs rm -rf
139+ find -mindepth 2 -maxdepth 2 -name violin.svg | xargs rm -rf
138140 find -type f -not -name violin.svg | xargs rm -rf
139- for file in $(find -type f -name violin.svg); do mv $file $(echo $file | sed -E "s_\./([^/]+)/([^/]+)/report/ violin\.svg_./\1/\2.svg_"); done
141+ for file in $(find -type f -name violin.svg); do mv $file $(echo $file | sed -E "s_\./([^/]+)/([^/]+)/violin\.svg_./\1/\2.svg_"); done
140142 find -mindepth 2 -maxdepth 2 -type d | xargs rm -rf
143+ cd ..
144+ mv reports/* .
145+ rmdir reports
141146 - name : upload benchmark data to the website
142147 env :
143148 SSHKEY : ${{ secrets.ACTIONS_TESTS_DATA_DEPLOY_KEY }}
You can’t perform that action at this time.
0 commit comments