Bencher/Scenario/Example.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 10 / 10 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« Bencher/Role/ResultRenderer.pm ↑ Summary Bencher/Scenario/Example/CmdLineTemplate.pm »
1 package Bencher::Scenario::Example;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
6 1 our $DATE = '2023-07-08'; # DATE
7 1 our $DIST = 'Bencher-Backend'; # DIST
8 1 our $VERSION = '1.063'; # VERSION
9  
10 1 our $scenario = {
11 participants => [
12 {fcall_template => q[Text::Wrap::wrap('', '', <text>)]},
13 ],
14 datasets => [
15 { name=>"foobar x100", args => {text=>"foobar " x 100} },
16 { name=>"foobar x1000", args => {text=>"foobar " x 1000} },
17 { name=>"foobar x10000", args => {text=>"foobar " x 10000} },
18 ],
19 };
20  
21 1 1;
22 # ABSTRACT: An example scenario
23  
24 __END__
« Bencher/Role/ResultRenderer.pm ↑ Summary Bencher/Scenario/Example/CmdLineTemplate.pm »