* Revert "Improved benchmark output (#5077)"
This reverts commit 9e041f464c
.
* Still use raw
This commit is contained in:
parent
984bc7d0de
commit
35458e6880
1 changed files with 8 additions and 12 deletions
20
.github/workflows/benchmark.yml
vendored
20
.github/workflows/benchmark.yml
vendored
|
@ -48,8 +48,8 @@ jobs:
|
|||
- name: Run benchmark
|
||||
id: benchmark-pr
|
||||
run: |
|
||||
pnpm run --silent benchmark &> ./bench-result.md
|
||||
result=$(awk -v RS="" '/┌/' ./bench-result.md)
|
||||
pnpm run --silent benchmark > ./bench-result.md
|
||||
result=$(awk '/requests in/' ./bench-result.md)
|
||||
echo "::set-output name=BENCH_RESULT${{matrix.node-version}}::$result"
|
||||
|
||||
# main benchmark
|
||||
|
@ -68,8 +68,8 @@ jobs:
|
|||
- name: Run benchmark
|
||||
id: benchmark-main
|
||||
run: |
|
||||
pnpm run --silent benchmark &> ./bench-result.md
|
||||
result=$(awk -v RS="" '/┌/' ./bench-result.md)
|
||||
pnpm run --silent benchmark > ./bench-result.md
|
||||
result=$(awk '/requests in/' ./bench-result.md)
|
||||
echo "::set-output name=BENCH_RESULT${{matrix.node-version}}::$result"
|
||||
|
||||
output-benchmark:
|
||||
|
@ -86,15 +86,11 @@ jobs:
|
|||
pr_number: ${{ github.event.issue.number }}
|
||||
message: |
|
||||
**Node**: 14
|
||||
**PR**:
|
||||
${{ needs.benchmark.outputs.PR-BENCH-14 }}
|
||||
**MAIN**:
|
||||
${{ needs.benchmark.outputs.MAIN-BENCH-14 }}
|
||||
**PR**: ${{ needs.benchmark.outputs.PR-BENCH-14 }}
|
||||
**MAIN**: ${{ needs.benchmark.outputs.MAIN-BENCH-14 }}
|
||||
|
||||
---
|
||||
|
||||
**Node**: 16
|
||||
**PR**:
|
||||
${{ needs.benchmark.outputs.PR-BENCH-16 }}
|
||||
**MAIN**:
|
||||
${{ needs.benchmark.outputs.MAIN-BENCH-16 }}
|
||||
**PR**: ${{ needs.benchmark.outputs.PR-BENCH-16 }}
|
||||
**MAIN**: ${{ needs.benchmark.outputs.MAIN-BENCH-16 }}
|
||||
|
|
Loading…
Reference in a new issue