xpra icon
Bug tracker and wiki

Changes between Version 20 and Version 21 of Testing


Ignore:
Timestamp:
04/28/15 18:37:21 (5 years ago)
Author:
Nick Centanni
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Testing

    v20 v21  
    5454To create multiple output files which can be used to generate charts, using [http://xpra.org/trac/browser/xpra/trunk/src/tests/xpra/test_measure_perf_charts.py xpra.test_measure_perf_charts]:
    5555* Build a config class by taking a copy from [http://xpra.org/trac/browser/xpra/trunk/src/tests/xpra/perf_config_default.py xpra.perf_config_default.py], then making changes as necessary.
    56 * Determine the values of the following variables: prefix: (a string to identify the data set), id: (a string to identify the variable that the data set is testing, for example '14' because we're testing xpra v14 in this data set), repetitions: the number of times you want to run the tests.
     56* Determine the values of the following variables: prefix: (a string to identify the data set), id: (a string to identify the variable that the data set is testing, for example '14', for testing version 14), repetitions: the number of times you want to run the tests.
    5757* The data file names you will produce will then be in the format: prefix_id_rep.csv.
    5858* With this information in hand you can now create a script that will run the tests.
     
    6464}}}
    6565
    66 In the above example, test_measure_perf is run twice, using a config class named "all_tests_40.py", and outputting the results to data files using the prefix "all_tests_40", for version 14.
     66In the above example, test_measure_perf is run twice, using a config class named "all_tests_40.py", and outputting the results to data files using the prefix "all_tests_40", for version 14, repetition 1 and 2.
    6767
    68 The additional arguments "1 14", "2 14" are custom paramaters which will be written to the "Custom Params" column in the corresponding data files.
     68The additional argument "14", is a custom paramater which will be written to the "Custom Params" column in the corresponding data files.
    6969
    70 The "1", "2" in the file names or in the parameters, refer to the corresponding repetition of the tests.
    7170
    7271Please also see: