* 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
|
- name: Run benchmark
|
||||||
id: benchmark-pr
|
id: benchmark-pr
|
||||||
run: |
|
run: |
|
||||||
pnpm run --silent benchmark &> ./bench-result.md
|
pnpm run --silent benchmark > ./bench-result.md
|
||||||
result=$(awk -v RS="" '/┌/' ./bench-result.md)
|
result=$(awk '/requests in/' ./bench-result.md)
|
||||||
echo "::set-output name=BENCH_RESULT${{matrix.node-version}}::$result"
|
echo "::set-output name=BENCH_RESULT${{matrix.node-version}}::$result"
|
||||||
|
|
||||||
# main benchmark
|
# main benchmark
|
||||||
|
@ -68,8 +68,8 @@ jobs:
|
||||||
- name: Run benchmark
|
- name: Run benchmark
|
||||||
id: benchmark-main
|
id: benchmark-main
|
||||||
run: |
|
run: |
|
||||||
pnpm run --silent benchmark &> ./bench-result.md
|
pnpm run --silent benchmark > ./bench-result.md
|
||||||
result=$(awk -v RS="" '/┌/' ./bench-result.md)
|
result=$(awk '/requests in/' ./bench-result.md)
|
||||||
echo "::set-output name=BENCH_RESULT${{matrix.node-version}}::$result"
|
echo "::set-output name=BENCH_RESULT${{matrix.node-version}}::$result"
|
||||||
|
|
||||||
output-benchmark:
|
output-benchmark:
|
||||||
|
@ -86,15 +86,11 @@ jobs:
|
||||||
pr_number: ${{ github.event.issue.number }}
|
pr_number: ${{ github.event.issue.number }}
|
||||||
message: |
|
message: |
|
||||||
**Node**: 14
|
**Node**: 14
|
||||||
**PR**:
|
**PR**: ${{ needs.benchmark.outputs.PR-BENCH-14 }}
|
||||||
${{ needs.benchmark.outputs.PR-BENCH-14 }}
|
**MAIN**: ${{ needs.benchmark.outputs.MAIN-BENCH-14 }}
|
||||||
**MAIN**:
|
|
||||||
${{ needs.benchmark.outputs.MAIN-BENCH-14 }}
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
**Node**: 16
|
**Node**: 16
|
||||||
**PR**:
|
**PR**: ${{ needs.benchmark.outputs.PR-BENCH-16 }}
|
||||||
${{ needs.benchmark.outputs.PR-BENCH-16 }}
|
**MAIN**: ${{ needs.benchmark.outputs.MAIN-BENCH-16 }}
|
||||||
**MAIN**:
|
|
||||||
${{ needs.benchmark.outputs.MAIN-BENCH-16 }}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue