Xpra: Ticket #795: Refactor perf test to facilitate auto-regression

We have a requirement to run automated variations of test_measure_perf.py as part of regression testing, so I'm proposing moving the options from the main file into a swappable config file, so that many iterations of the tests can be run against varying settings.

Tue, 27 Jan 2015 05:45:41 GMT - Nick Centanni: attachment set

Patch to modify test_measure_perf.py to support a separate config class.

Tue, 27 Jan 2015 05:46:17 GMT - Nick Centanni: attachment set

Default test_measure_perf config file, which can be replaced on the command line with alternates.

Tue, 27 Jan 2015 05:59:33 GMT - Antoine Martin: owner changed

Looks good, I haven't actually tried it yet but it makes sense to separate code and data. Please commit it to trunk and close this ticket with the revision info.

Tue, 27 Jan 2015 15:08:54 GMT - Nick Centanni: status changed; resolution set

Checked in the first version of this code/data separation, in revisions r8559, r8560, r8561, r8562, r8563, r8572, r8573.

I added a print_options function in the config class for dumping the contents of all of the options residing in the config.

I added a new option STARTING_TEST to specify the index of the first test to run.

I added a second command line argument csv_filename, if specified, the csv data will be written to that file in addition to being printed to screen.

Sat, 23 Jan 2021 05:06:11 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/795