From a77edd4ac5b99289b55341efc8f9fb5d22d5d3eb Mon Sep 17 00:00:00 2001 From: alankritdabral <95607957+alankritdabral@users.noreply.github.com> Date: Sat, 25 May 2024 22:05:24 +0530 Subject: [PATCH] Update benchmark.yml --- .github/workflows/benchmark.yml | 70 ++++++++++++++++----------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 70d9b6be77..ce4fde267f 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -26,48 +26,48 @@ jobs: - name: Install Stable Toolchain uses: actions-rust-lang/setup-rust-toolchain@v1 - - name: Run Cargo Build - run: cargo build --release + # - name: Run Cargo Build + # run: cargo build --release - - name: Run Tailcall - run: | - TAILCALL_LOG_LEVEL=error ./target/release/tailcall start ci-benchmark/benchmark.graphql & + # - name: Run Tailcall + # run: | + # TAILCALL_LOG_LEVEL=error ./target/release/tailcall start ci-benchmark/benchmark.graphql & - - name: Install Wrk - run: | - sudo apt-get install -y wrk + # - name: Install Wrk + # run: | + # sudo apt-get install -y wrk - - name: Run Test Query - run: | - curl -i -X POST -d '{"query": "{posts{title}}"}' http://localhost:8000/graphql -H "Content-Type: application/json" + # - name: Run Test Query + # run: | + # curl -i -X POST -d '{"query": "{posts{title}}"}' http://localhost:8000/graphql -H "Content-Type: application/json" - - name: Warmup Wrk - working-directory: ci-benchmark - run: | - wrk -d 10 -t 4 -c 100 -s wrk.lua http://localhost:8000/graphql + # - name: Warmup Wrk + # working-directory: ci-benchmark + # run: | + # wrk -d 10 -t 4 -c 100 -s wrk.lua http://localhost:8000/graphql - - id: run_wrk - name: Run Wrk - working-directory: ci-benchmark - run: | - wrk -d 30 -t 4 -c 100 -s wrk.lua http://localhost:8000/graphql > wrk-output.txt + # - id: run_wrk + # name: Run Wrk + # working-directory: ci-benchmark + # run: | + # wrk -d 30 -t 4 -c 100 -s wrk.lua http://localhost:8000/graphql > wrk-output.txt - - 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 - run: | - cat body.md + # - 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 + # run: | + # cat body.md - - name: "Upload Artifact" - uses: actions/upload-artifact@v4 - with: - name: body - path: ci-benchmark/body.md + # - name: "Upload Artifact" + # uses: actions/upload-artifact@v4 + # with: + # name: body + # path: ci-benchmark/body.md - name: Generate BMF JSON working-directory: ci-benchmark