Changes between Version 20 and Version 21 of Testing
- Timestamp:
- 04/28/15 18:37:21 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Testing
v20 v21 54 54 To 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]: 55 55 * 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. 57 57 * The data file names you will produce will then be in the format: prefix_id_rep.csv. 58 58 * With this information in hand you can now create a script that will run the tests. … … 64 64 }}} 65 65 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 .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, repetition 1 and 2. 67 67 68 The additional argument s "1 14", "2 14" are custom paramaterswhich will be written to the "Custom Params" column in the corresponding data files.68 The additional argument "14", is a custom paramater which will be written to the "Custom Params" column in the corresponding data files. 69 69 70 The "1", "2" in the file names or in the parameters, refer to the corresponding repetition of the tests.71 70 72 71 Please also see: