4 | | The automated tests can be used to check for regressions between versions or for measuring the impact of specific changes or settings. |
5 | | |
6 | | [[BR]] |
7 | | |
8 | | At present, the [https://www.xpra.org/trac/browser/trunk/src/tests/xpra/test_measure_perf.py test_measure_perf.py test script] must be modified by hand to change parameters - hopefully this will change in the future. |
9 | | |
10 | | [[BR]] |
11 | | To take advantage of iptables packet accounting, follow the error message and setup iptables rules to match the port being used in the tests, ie: by default: |
12 | | {{{ |
13 | | iptables -I INPUT -p tcp --dport 10000 -j ACCEPT |
14 | | iptables -I OUTPUT -p tcp --sport 10000 -j ACCEPT |
15 | | }}} |
16 | | |
17 | | Then you can let the tests run: |
18 | | {{{ |
19 | | ./tests/xpra/test_measure_perf.py "name recorded for this test set's samples" |
20 | | }}} |
21 | | And collect the CSV data printed at the end, which you can then use with your favourite statistics package or produce [https://www.xpra.org/stats/YIELD-vs-NOYIELD/batch_delay.htm pretty graphs] |
22 | | |
| 4 | Please see [/wiki/Testing#Automatedperformanceandregressiontesting Automated performance and regression testing] |