Tapper Team > Tapper-Reports-Receiver-4.1.3 > Tapper::Reports::Receiver::Level2::Codespeed

Download:
Tapper-Reports-Receiver-4.1.3.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 4.1.3   Source  

NAME ^

Tapper::Reports::Receiver::Level2::Codespeed

SYNOPSIS ^

Used indirectly via Tapper::Reports::Receiver.

 package Tapper::Reports::Receiver::Level2::Codespeed;

 sub submit
 {
        my ($util, $report, $options) = @_;
        # ... actual data forwarding here
 }

submit

Submit carved out data from a report to a Codespeed application URL.

NAME ^

Tapper::Reports::Receiver::Level2::Codespeed - Tapper - Level2 receiver plugin: Codespeed

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 Codespeed to track benchmark values.

By convention, for Codespeed the data is already prepared in the TAP report like this:

 ok perlformance
   ---
   codespeed:
     -
       benchmark: Rx.regexes.fieldsplit1
       commitid: 1b1a3d2a
       environment: renormalist
       executable: perl-5.12.1-foo
       project: perl
       result_value: 2.58451795578003
     -
       benchmark: Rx.regexes.fieldsplit2
       commitid: 1b1a3d2b
       environment: renormalist
       executable: perl-5.12.1-foo
       project: perl
       result_value: 1.04680895805359
   ...
 ok some other TAP stuff

I.e., it requires a key codespeed: containing an array of chunks with keys that Codespeed is expecting.

AUTHOR ^

AMD OSRC Tapper Team <tapper@amd64.org>

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2013 by Advanced Micro Devices, Inc..

This is free software, licensed under:

  The (two-clause) FreeBSD License
syntax highlighting: