From 57779aa334783ffac1160377cb22af55158a8c78 Mon Sep 17 00:00:00 2001 From: lupin012 <58134934+lupin012@users.noreply.github.com> Date: Fri, 5 Apr 2024 23:03:29 +0200 Subject: [PATCH] save binary and remove old one --- .github/workflows/rpc-performance-tests.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rpc-performance-tests.yml b/.github/workflows/rpc-performance-tests.yml index 45cfcdeb87..15a4097e03 100644 --- a/.github/workflows/rpc-performance-tests.yml +++ b/.github/workflows/rpc-performance-tests.yml @@ -105,8 +105,10 @@ jobs: if [ $perf_exit_status -eq 0 ]; then echo "TEST_RESULT=success" >> "$GITHUB_OUTPUT" + # temporary: removes previous binary test + rm -rf ${{runner.workspace}}/rpc-tests/perf/reports/mainnet/bin ${{runner.workspace}}/last_execution_test/* # save all vegeta binary report on specific area - cp -r ${{runner.workspace}}/rpc-tests/perf/reports/bin ${{runner.workspace}}/current_test + cp -r ${{runner.workspace}}/rpc-tests/perf/reports/mainnet/bin ${{runner.workspace}}/last_execution_test/ #python3 $ERIGON_QA_PATH/test_system/qa-tests/uploads/upload_test_results.py --repo silkworm --commit $(git rev-parse HEAD) --test_name rpc-performance-test-$method --outcome success --result_file ${{runner.workspace}}/rpc-tests/perf/reports/mainnet/result.json echo "Tests completed successfully" @@ -129,7 +131,8 @@ jobs: #run_perf mainnet eth_getBlockByNumber stress_test_eth_getBlockByNumber_13M 1:1,100:30,1000:20,5000:20 #run_perf mainnet eth_getTransactionByHash stress_test_eth_getTransactionByHash_13M 1:1,100:30,1000:20,10000:20 #run_perf mainnet eth_getTransactionReceipt stress_test_eth_getTransactionReceipt_14M 1:1,100:30,1000:20,5000:20 - run_perf mainnet eth_createAccessList stress_test_eth_createAccessList_16M 1:1,100:30,1000:20,5000:20,10000:30 + #run_perf mainnet eth_createAccessList stress_test_eth_createAccessList_16M 1:1,100:30,1000:20,5000:20,10000:30 + run_perf mainnet eth_createAccessList stress_test_eth_createAccessList_16M 20000:30 - name: Stop Silkworm RpcDaemon