Tapper::Reports::Receiver::Level2::BenchmarkAnything - Tapper - Level2 receiver plugin to forward BenchmarkAnything data
Extract BenchmarkAnything data from a report and submit them to a BenchmarkAnything store.
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.
BenchmarkAnythingData
To activate that level2 receiver you should have an entry like this in your tapper.cfg:
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
Steffen Schwigon <ss5@renormalist.net>
This software is copyright (c) 2016 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.
To install Tapper::Reports::Receiver::Level2::BenchmarkAnything, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tapper::Reports::Receiver::Level2::BenchmarkAnything
CPAN shell
perl -MCPAN -e shell install Tapper::Reports::Receiver::Level2::BenchmarkAnything
For more information on module installation, please visit the detailed CPAN module installation guide.