Fix benchmark document

This commit is contained in:
Koichi Nakamura 2021-05-06 01:31:24 +09:00
parent ef58832aa9
commit 776b1768f0
2 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ jobs:
- name: take benchmarks
run: |
mkdir -p document
./benchmark/gendoc.sh ${{ github.event.issue.number }} | tee document/Benchmarks.md
./benchmark/gendoc.sh ${{ github.event.number }} | tee document/Benchmarks.md
- name: upload to wiki
uses: SwiftDocOrg/github-wiki-publish-action@v1
with:

View file

@ -1,6 +1,6 @@
#!/bin/bash
COMMIT="$1"
PRNUM="$1"
TARGETS="i386-linux-handwritten c python"
TIMEFORMAT='%U'
CPU_MODEL=`cat /proc/cpuinfo | grep -m1 'model name' | cut -d: -f2 | sed "s/^ *//g"`
@ -36,7 +36,7 @@ function generate-table {
echo "# Environment"
echo
echo "- Commit: $COMMIT"
echo "- Pull Request: #$PRNUM"
echo "- $CPU_MODEL"
echo "- $MEM_SIZE"
echo "- $UNAME"