Skip to content

Commit f135a34

Browse files
authored
qa-tests: add latency percentile analysis (#2132)
1 parent b0bc318 commit f135a34

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/rpc-performance-tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Checkout RPC Tests Repository & Install Requirements
2525
run: |
2626
rm -rf ${{runner.workspace}}/rpc-tests
27-
git -c advice.detachedHead=false clone --depth 1 --branch v0.8.2 https://github.com/erigontech/rpc-tests ${{runner.workspace}}/rpc-tests
27+
git -c advice.detachedHead=false clone --depth 1 --branch v0.26.0 https://github.com/erigontech/rpc-tests ${{runner.workspace}}/rpc-tests
2828
cd ${{runner.workspace}}/rpc-tests
2929
pip3 install -r requirements.txt
3030
@@ -122,6 +122,12 @@ jobs:
122122
--db_version $db_version \
123123
--outcome success \
124124
--result_file ${{runner.workspace}}/rpc-tests/perf/reports/mainnet/result.json
125+
126+
echo "Execute Latency Percentile HDR Analysis"
127+
python3 $ERIGON_QA_PATH/test_system/qa-tests/rpc-tests/perf_hdr_analysis.py \
128+
--test_name ${servers[i-1]}-$method \
129+
--input_file ${{runner.workspace}}/rpc-tests/perf/reports/mainnet/result.json \
130+
--output_file ${{runner.workspace}}/rpc-tests/perf/reports/mainnet/${servers[i-1]}_$method_latency_hdr_analysis.pdf
125131
else
126132
failed_test=1
127133
cd ${{runner.workspace}}/silkworm

0 commit comments

Comments
 (0)