NAME
Tapper::Reports::Receiver::Level2::BenchmarkAnything - Tapper - Level2 receiver plugin to forward BenchmarkAnything data
submit
Extract BenchmarkAnything data from a report and submit them to a BenchmarkAnything store.
ABOUT
Level 2 receivers are other data receivers besides Tapper to which data is forwarded when a report is arriving at the Tapper::Reports::Receiver.
One example is to track benchmark values.
By convention, for BenchmarkAnything the data is already prepared in the TAP report like this:
ok - measurements
---
BenchmarkAnythingData:
- NAME: example.prove.duration
VALUE: 2.19
- NAME: example.some.metric
VALUE: 7.00
- NAME: example.some.other.metric
VALUE: 1
...
ok some other TAP stuff
I.e., it requires a key BenchmarkAnythingData
and the contained array consists of chunks with keys that a BenchmarkAnything backend store is expecting.
CONFIG
To activate that level2 receiver you should have an entry like this in your tapper.cfg
:
receiver:
level2:
BenchmarkAnything:
# actual benchmark entries
benchmark_entries_path: //data/BenchmarkAnythingData/*
# optional meta info to merge into each chunk of benchmark entries
additional_metainfo_path: //data/PlatformDescription/*
# whether that metainfo should also stored into the benchmark store
store_metainfo_as_benchmarks: 0
# whether test/TAP summary metrics should also stored into the benchmark store
store_testmetrics_as_benchmarks: 0
# whether to skip that plugin
disabled: 0
AUTHOR
Steffen Schwigon <ss5@renormalist.net>
COPYRIGHT AND LICENSE
This software is copyright (c) 2024 by Steffen Schwigon.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.