Scenario/IPCRun/run_overhead.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 12 / 12 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ Summary Scenario/IPCRun/run_stdin.pm »
1 package Bencher::Scenario::IPCRun::run_overhead;
2  
3 1 our $DATE = '2017-01-25'; # DATE
4 1 our $VERSION = '0.002'; # VERSION
5  
6 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 our $scenario = {
10 summary => "Benchmark overhead of run() vs core's system()",
11 modules => {
12 },
13 participants => [
14 {
15 fcall_template => 'IPC::Run::run(["true"]) or die',
16 },
17 {
18 name => 'system',
19 code_template => 'system("true"); $? and die',
20 },
21 ],
22 };
23  
24 1 1;
25 # ABSTRACT: Benchmark overhead of run() vs core's system()
26  
27 __END__
↑ Summary Scenario/IPCRun/run_stdin.pm »