-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
twister: recording: Allow multiple patterns & Thread-Metric benchmark data collection #83849
twister: recording: Allow multiple patterns & Thread-Metric benchmark data collection #83849
Conversation
Thread-Metric
resulting JSON entries:
|
ac81709
to
fccb746
Compare
platform_exclude: | ||
- qemu_malta |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it seems on CI it needs very close to 300 sec. just for one measurement at benchmark.thread_metric.preemptive
This platform was also noted in #79570 (comment)
fccb746
to
f280d08
Compare
We have no threadx benchmarks in zephyr, you probably mean "thread metric" benchmark. |
right, the PR's title changed to Thread-Metric |
Extend Twister Harness 'recording' feature to allow multiple regular expression patterns to extract different types of records from test output. Add 'merge' recording mode to collect all extracted data fields into a single record object of the test instance. Export to CSV file now takes all field names occurred in the collected records, sort it alphabetically, and then use it for columns instead of using only the first record's fields. This is done to address possible situation when records have different set of fields. Adjust Twister documentation and test suite to the above changes. Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
Adjust testcase.yaml files to changes in Twister schema which now allows multiple recording patterns ('record: regex:'). Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
Extentd 'benchmark.thread_metric' (tests/benchmarks/thread_metric) test suite to collect benchmark measurements in Twister reports as recordings parsed from the test's output: time period values as well as errors. Additionally, each test is executed until it makes at least 3 measurements to estimate variance. Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
f280d08
to
11bd8f6
Compare
Extend Twister Harness 'recording' feature to allow multiple regular expression patterns to extract different types of records from test output.
Add 'merge' recording mode to collect all extracted data fields into a single record object of the test instance.
Export to CSV file now takes all field names occurred in the collected records, sort it alphabetically, and then use it for columns instead of using only the first record's fields. This is done to address possible situation when records have different set of fields.
Adjust Twister documentation and test suite to the above changes.
Adjust testcase.yaml files to changes in Twister schema which now allows multiple recording patterns ('record: regex:').
Extentd
benchmark.thread_metric
(tests/benchmarks/thread_metric) test suite to collect benchmark measurements into Twister reports as recordings parsed from the test's output: time period values as well as errors.Additionally, each test is executed until it makes at least 3 measurements to estimate variance.