diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index e88fdc4..d98cef3 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -278,7 +278,6 @@ jobs: set output file_name small = "#D81B60"; medium = "#1E88E5"; big = "#FFC107"; - set yrange [0:20] set style data histogram set style histogram cluster gap 1 set style fill solid @@ -301,6 +300,7 @@ jobs: Wundergraph ${{ fromJson(needs.read.outputs.result).rps.small_wundergraph_no_opt }} ${{ fromJson(needs.read.outputs.result).rps.medium_wundergraph_no_opt }} ${{ fromJson(needs.read.outputs.result).rps.big_wundergraph_no_opt }} Apollo ${{ fromJson(needs.read.outputs.result).rps.small_apollo_router }} ${{ fromJson(needs.read.outputs.result).rps.medium_apollo_router }} ${{ fromJson(needs.read.outputs.result).rps.big_apollo_router }} EOF + tr -d ',' < data.dat > data.dat - name: Create RPS basic plot run: gnuplot -e "file_name='files/rps_default.png'; title_text='RPS Default'" plot_script.gp - name: Save RPS cached plot data @@ -311,6 +311,7 @@ jobs: Grafbase ${{ fromJson(needs.read.outputs.result).rps.small_grafbase_cache }} ${{ fromJson(needs.read.outputs.result).rps.medium_grafbase_cache }} ${{ fromJson(needs.read.outputs.result).rps.big__grafbase_cache }} Wundergraph ${{ fromJson(needs.read.outputs.result).rps.small_wundergraph_default }} ${{ fromJson(needs.read.outputs.result).rps.medium_wundergraph_default }} ${{ fromJson(needs.read.outputs.result).rps.big__wundergraph_default }} EOF + tr -d ',' < data.dat > data.dat - name: Create RPS cached plot run: gnuplot -e "file_name='files/rps_cached.png'; title_text='RPS Cached'" plot_script.gp - name: Write p95 plot script @@ -320,8 +321,8 @@ jobs: set output file_name small = "#D81B60"; medium = "#1E88E5"; big = "#FFC107"; - set yrange [0:1] set logscale y + set key left top set style data histogram set style histogram cluster gap 1 set style fill solid @@ -344,6 +345,7 @@ jobs: Wundergraph ${{ fromJson(needs.read.outputs.result).p95.small_wundergraph_no_opt }} ${{ fromJson(needs.read.outputs.result).p95.medium_wundergraph_no_opt }} ${{ fromJson(needs.read.outputs.result).p95.big_wundergraph_no_opt }} Apollo ${{ fromJson(needs.read.outputs.result).p95.small_apollo_router }} ${{ fromJson(needs.read.outputs.result).p95.medium_apollo_router }} ${{ fromJson(needs.read.outputs.result).p95.big_apollo_router }} EOF + tr -d ',' < data.dat > data.dat - name: Create P95 Latency basic plot run: gnuplot -e "file_name='files/p95_default.png'; title_text='Latency 95% Default'" plot_script.gp - name: Save P95 Latency cached plot data @@ -354,6 +356,7 @@ jobs: Grafbase ${{ fromJson(needs.read.outputs.result).p95.small_grafbase_cache }} ${{ fromJson(needs.read.outputs.result).p95.medium_grafbase_cache }} ${{ fromJson(needs.read.outputs.result).p95.big__grafbase_cache }} Wundergraph ${{ fromJson(needs.read.outputs.result).p95.small_wundergraph_default }} ${{ fromJson(needs.read.outputs.result).p95.medium_wundergraph_default }} ${{ fromJson(needs.read.outputs.result).p95.big__wundergraph_default }} EOF + tr -d ',' < data.dat > data.dat - name: Create P95 Latency cached plot run: gnuplot -e "file_name='files/p95_cached.png'; title_text='Latency 95% Cached'" plot_script.gp - name: Cleanup files