The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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) 2016 by Advanced Micro Devices, Inc..

This is free software, licensed under:

The (two-clause) FreeBSD License