This commit is contained in:
Koichi Nakamura 2021-01-11 17:21:32 +09:00
parent 255c58c9a5
commit 591d267201
2 changed files with 3 additions and 6 deletions

View file

@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v1
- name: take benchmarks
run: |
./benchmark/gendoc.sh
./benchmark/gendoc.sh | tee document/benchmark.md
- name: upload to wiki
uses: SwiftDocOrg/github-wiki-publish-action@v1
with:

View file

@ -1,8 +1,5 @@
#!/bin/bash
mkdir -p document
FILE=document/benchmark.md
TARGETS="i386-linux-handwritten c"
TIMEFORMAT='%U'
function benchmark () {
@ -29,7 +26,7 @@ function generate-table {
t=`benchmark $2 $3`
echo "| $impl | $t |"
done
} | tee -a $FILE
}
echo "# Benchmarks" | tee $FILE
echo "# Benchmarks"
generate-table "Bootstrap Time" bootstrap 5