Skip to content

Commit

Permalink
chore: push WRK output into the bencher [REVERT] (#2089)
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharmath authored Jun 2, 2024
1 parent 3402a36 commit 8ae88af
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 62 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,34 +52,11 @@ jobs:
run: |
wrk -d 30 -t 4 -c 100 -s wrk.lua http://localhost:8000/graphql > wrk-output.txt
- id: convert_wrk_output_json
name: Convert Output to JSON
working-directory: ci-benchmark
run: |
node wrk-output-to-json.js wrk-output.txt > results.json
- id: push_to_bencher
working-directory: ci-benchmark
uses: bencherdev/bencher@main
run: |
bencher run \
--project tailcall \
--token '${{ secrets.BENCHER_API_TOKEN }}' \
--branch '${{ github.head_ref }}' \
--branch-start-point '${{ github.base_ref }}' \
--branch-start-point-hash '${{ github.base_sha }}' \
--testbed ubuntu-latest \
--adapter json \
--err \
--file "results.json"
--github-actions '${{ secrets.GITHUB_TOKEN }}' \
- id: convert_wrk_output_markdown
name: Convert Output to Markdown
working-directory: ci-benchmark
run: |
node wrk-output-to-md.js wrk-output.txt > body.md
- id: cat_md
name: Cat Markdown
working-directory: ci-benchmark
Expand Down
39 changes: 0 additions & 39 deletions ci-benchmark/wrk-output-to-json.js

This file was deleted.

1 comment on commit 8ae88af

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running 30s test @ http://localhost:8000/graphql

4 threads and 100 connections

Thread Stats Avg Stdev Max +/- Stdev
Latency 6.73ms 3.56ms 143.88ms 80.01%
Req/Sec 3.78k 143.47 4.10k 87.58%

451881 requests in 30.02s, 2.26GB read

Requests/sec: 15054.90

Transfer/sec: 77.27MB

Please sign in to comment.