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.
Patch to modify test_measure_perf.py to support a separate config class.
Default test_measure_perf config file, which can be replaced on the command line with alternates.
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.
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.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/795