| 1 | package Bencher::Scenario::RegexpGrammars::Startup; | ||
| 2 | |||
| 3 | 1 | our $DATE = '2017-01-25'; # DATE | |
| 4 | 1 | our $VERSION = '0.02'; # VERSION | |
| 5 | |||
| 6 | 1 | ▶ | use 5.010001; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 1 | my @modules = qw(Regexp::Grammars); | |
| 11 | |||
| 12 | our $scenario = { | ||
| 13 | summary => 'Benchmark module startup overhead of Regexp::Grammars', | ||
| 14 | |||
| 15 | module_startup => 1, | ||
| 16 | |||
| 17 | participants => [ | ||
| 18 | 1 | map { +{module=>$_} } @modules, | |
| 19 | ], | ||
| 20 | }; | ||
| 21 | |||
| 22 | 1 | 1; | |
| 23 | # ABSTRACT: Benchmark module startup overhead of Regexp::Grammars | ||
| 24 | |||
| 25 | __END__ | ||