view release on metacpan or search on metacpan
example/player.pl view on Meta::CPAN
=over 5
=item B<--volume|-v> volume
Play at a given software volume (in percent).
=item B<--seek|-s> seconds
Start playback from a given position in the audio.
view all matches for this distribution
view release on metacpan or search on metacpan
examples/js/jquery-1.9.1.js view on Meta::CPAN
ret = jQuery.style( elem, name );
}
// A tribute to the "awesome hack by Dean Edwards"
// Chrome < 17 and Safari 5.0 uses "computed value" instead of "used value" for margin-right
// Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels
// this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values
if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) {
// Remember the original values
width = style.width;
examples/js/jquery-1.9.1.js view on Meta::CPAN
}
};
}
// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084
// getComputedStyle returns percent when specified for top/left/bottom/right
// rather than make the css module depend on the offset module, we just check for it here
if ( !jQuery.support.pixelPosition && jQuery.fn.position ) {
jQuery.each( [ "top", "left" ], function( i, prop ) {
jQuery.cssHooks[ prop ] = {
get: function( elem, computed ) {
if ( computed ) {
computed = curCSS( elem, prop );
// if curCSS returns percentage, fallback to offset
return rnumnonpx.test( computed ) ?
jQuery( elem ).position()[ prop ] + "px" :
computed;
}
}
examples/js/jquery-1.9.1.js view on Meta::CPAN
}
var currentTime = fxNow || createFxNow(),
remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),
// archaic crash bug won't allow us to use 1 - ( 0.5 || 0 ) (#12497)
temp = remaining / animation.duration || 0,
percent = 1 - temp,
index = 0,
length = animation.tweens.length;
for ( ; index < length ; index++ ) {
animation.tweens[ index ].run( percent );
}
deferred.notifyWith( elem, [ animation, percent, remaining ]);
if ( percent < 1 && length ) {
return remaining;
} else {
deferred.resolveWith( elem, [ animation ] );
return false;
}
examples/js/jquery-1.9.1.js view on Meta::CPAN
return hooks && hooks.get ?
hooks.get( this ) :
Tween.propHooks._default.get( this );
},
run: function( percent ) {
var eased,
hooks = Tween.propHooks[ this.prop ];
if ( this.options.duration ) {
this.pos = eased = jQuery.easing[ this.easing ](
percent, this.options.duration * percent, 0, 1, this.options.duration
);
} else {
this.pos = eased = percent;
}
this.now = ( this.end - this.start ) * eased + this.start;
if ( this.options.step ) {
this.options.step.call( this.elem, this.now, this );
view all matches for this distribution
view release on metacpan or search on metacpan
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
view all matches for this distribution
view release on metacpan or search on metacpan
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
view all matches for this distribution
view release on metacpan or search on metacpan
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
view all matches for this distribution
view release on metacpan or search on metacpan
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
view all matches for this distribution
view release on metacpan or search on metacpan
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
view all matches for this distribution
view release on metacpan or search on metacpan
t/modules.pm view on Meta::CPAN
use Cwd;
use Exporter;
our @ISA = qw(Exporter);
our @EXPORT = qw(%modules $keep
perlversion
percent log_diag log_pass log_err get_module_list
random_sublist is_subset
);
our (%modules);
our $log = 0;
our $keep = '';
t/modules.pm view on Meta::CPAN
: '-nt'),
($dVAR ? '-dVAR' : '')
);
}
sub percent {
$_[1] ? sprintf("%0.1f%%", $_[0]*100/$_[1]) : '';
}
sub log_diag {
my $message = shift;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/BBCode/Util.pm view on Meta::CPAN
} else {
return undef;
}
}
# CSS 2.1 4.3.3 <percentage>
# Note: The same concerns apply as for <relative-size>
if(/^ ( [\s\d._+-]+ ) % $/x) {
my $n = parseNum $1;
if(defined $n and $n > 0) {
$n *= 0.01;
view all matches for this distribution
view release on metacpan or search on metacpan
db_env_txn_checkpoint (DB_ENV *env, U32 kbyte = 0, U32 min = 0, U32 flags = 0, SV *callback = 0)
flags: FORCE
db_env_lock_detect (DB_ENV *env, U32 flags = 0, U32 atype = DB_LOCK_DEFAULT, SV *dummy = 0, SV *callback = 0)
atype: LOCK_DEFAULT LOCK_EXPIRE LOCK_MAXLOCKS LOCK_MAXWRITE LOCK_MINLOCKS LOCK_MINWRITE LOCK_OLDEST LOCK_RANDOM LOCK_YOUNGEST
db_env_memp_sync (DB_ENV *env, SV *dummy = 0, SV *callback = 0)
db_env_memp_trickle (DB_ENV *env, int percent, SV *dummy = 0, SV *callback = 0)
db_env_dbremove (DB_ENV *env, DB_TXN_ornull *txnid, bdb_filename file, bdb_filename database, U32 flags = 0, SV *callback = 0)
db_env_dbrename (DB_ENV *env, DB_TXN_ornull *txnid, bdb_filename file, bdb_filename database, bdb_filename newname, U32 flags = 0, SV *callback = 0)
db_env_log_archive (DB_ENV *env, SV *listp, U32 flags = 0, SV *callback = 0)
db_env_lsn_reset (DB_ENV *env, bdb_filename db, U32 flags = 0, SV *callback = 0)
db_env_fileid_reset (DB_ENV *env, bdb_filename db, U32 flags = 0, SV *callback = 0)
view all matches for this distribution
view release on metacpan or search on metacpan
resident_set_size => 'rssize',
rssize_before_swap => 'swrss',
text_size => 'tsize',
exit_status => 'xstat',
accounting_flags => 'acflag',
percent_cpu => 'pctcpu',
estimated_cpu => 'estcpu',
sleep_time => 'slptime',
time_last_swap => 'swtime',
elapsed_time => 'runtime',
process_flags => 'flag',
=item accounting_flags, acflag
Process accounting flags (TODO: decode them).
=item percent_cpu, pctcpu
Percentage of CPU time used by the process (for the duration of
swtime, see below).
=item estimated_cpu, estcpu
view all matches for this distribution
view release on metacpan or search on metacpan
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
view all matches for this distribution
view release on metacpan or search on metacpan
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Badge/Depot/Plugin/Coverage.pm view on Meta::CPAN
=head1 ATTRIBUTES
=head2 coverage
Set the code coverage percentage manually. Should only be used when L<Dist::Zilla::App::Command::coverh> is B<not> used.
=head2 custom_image_url
Default: C<https://img.shields.io/badge/%s-%s-%s.svg>
Override the default image url. It is expected to have three C<sprintf> placeholders: Text, coverage percentage and color.
=head2 max_age
Default: C<60>
lib/Badge/Depot/Plugin/Coverage.pm view on Meta::CPAN
=head2 text
Default: C<coverage>
Set a different coverage percentage. The percentage sign will be appended.
=head1 SEE ALSO
=over 4
view all matches for this distribution
view release on metacpan or search on metacpan
t/badge-simple.t view on Meta::CPAN
for my $k (qw/ total_w l_w r_w l_txt_c r_txt_c /) {
my $delta = abs( $exp->{$k} - $got->{$k} );
my $max_err = $k eq 'total_w' ? 8 : 4; #TODO Later: Can we make these smaller?
if ($exp->{$k}<100) # for lengths of <100 pixels, apply error to pixel count
{ ok $delta<=$max_err, "$k: exp $$exp{$k}, got $$got{$k}, delta $delta is <= ${max_err}px" }
else { # for lengths of >=100 pixels, apply error to percentage difference
my $percent = sprintf "%0.1f", 100*$delta/$exp->{$k};
ok $percent<=$max_err, "$k: exp $$exp{$k}, got $$got{$k}, delta $delta ($percent%) <= $max_err%";
}
}
};
}
view all matches for this distribution
view release on metacpan or search on metacpan
t/search_params.t view on Meta::CPAN
};
# Percent-encoded UTF-8 decodes to characters via the core `utf8::decode`
# builtin (no URI / URI::Escape dependency) â kept here rather than in the
# ASCII-only shared vectors to avoid cross-harness byte/char encoding skew.
subtest 'UTF-8 percent-decoding (core utf8::decode, no URI dep)' => sub {
my $sp = BarefootJS->search_params('q=%E2%9C%93');
is $sp->get('q'), "\x{2713}", 'percent-encoded UTF-8 â decoded character (â)';
};
# Malformed input must degrade, never die (SSR survives junk query strings).
subtest 'lenient parsing never dies' => sub {
ok lives { BarefootJS->search_params(undef) }, 'undef query';
view all matches for this distribution
view release on metacpan or search on metacpan
examples/ws.pl view on Meta::CPAN
team_ss_claim_point => 'team_pos_claim_point("ss")',
team_of_claim_point => 'team_pos_claim_point("of")',
team_pos_claim_point => sub {
my $pos = shift;
my $cp = "${pos}_claim_percentage";
my $weight = "${pos}_fielding_weight";
exists $_->fielding->{$pos} ? ($_->$cp - 0.2) * $_->$weight : 0;
},
team_c_ws => 'team_fielding_ws * team_c_claim_point / team_total_claim_point',
examples/ws.pl view on Meta::CPAN
return $val < 0 ? 0 : $val > $max ? $max : $val;
},
# Catchers' Claim Percentage
#c_claim_percentage => 'c_cs_grade + c_non_so_e_rate_grade + c_bunt_allowed_grade + c_pb_grade',
c_claim_percentage => '(
limit(c_cs_grade, 50) +
limit(c_non_so_e_rate_grade, 30) +
limit(c_bunt_allowed_grade, 10)
) * 10 / 9',
examples/ws.pl view on Meta::CPAN
c_non_so_e_rate_grade => '30 - 15 * non_so_error_per / $league->non_so_error_per',
c_bunt_allowed_grade => '0', # CPBL doesn't have this record
c_pb_grade => '5 + ($league->pb * tlpop - pb) / 5',
# 1st Basemans' Claim Percentage
b1_claim_percentage => '
limit(b1_def_change_grade, 40) +
limit(b1_e_ratio_grade, 30) +
limit(b1_arm_grade, 20) +
limit(err_of_b3ss_grade, 10)',
examples/ws.pl view on Meta::CPAN
($league->fielders("b1")->a + $league->fielders("ss")->f_dp / 2 - $league->fielders("p")->po - $league->fielders("b2")->f_dp / 2) ) / 5',
err_of_b3ss_grade => '10 - 5 * (fielders("b3")->e + fielders("ss")->e) / (($league->fielders("b3")->e + $league->fielders("ss")->e) * tlpop)',
# 2nd Basemans' Claim Percentage
b2_claim_percentage => '
limit(b2_dp_grade, 40) +
limit(b2_a_grade, 30) +
limit(b2_e_ratio_grade, 20) +
limit(b2_po_grade, 10)',
examples/ws.pl view on Meta::CPAN
sh => '0',
e_ratio => '1 - fpct',
# 3nd Basemans' Claim Percentage
b3_claim_percentage => '(
limit(b3_a_grade, 50) +
limit(b3_e_ratio_grade, 30) +
limit(b3_dp_grade, 10)
) * 10 / 9',
examples/ws.pl view on Meta::CPAN
b3_dp_grade => '5 + (fielders("b3")->f_dp - expected_dp * ($league->fielders("b3")->f_dp / $league->f_dp)) / 2',
league_b3_fpct => '$league->fielders("b3")->fpct',
# Shortstops' Claim Percentage
ss_claim_percentage => '
limit(ss_a_grade, 40) +
limit(ss_dp_grade, 30) +
limit(ss_e_ratio_grade, 20) +
limit(ss_po_grade, 10)',
examples/ws.pl view on Meta::CPAN
) / 15',
# Outfielders' Claim Percentage
of_claim_percentage => '
limit(of_po_grade, 40) +
limit(of_der_grade, 40) +
limit(of_a_and_po_grade, 10) +
limit(of_e_ration_grade, 10)',
examples/ws.pl view on Meta::CPAN
print "TEAM\tNAME\tBAT\tPITCH\tFIELD\tTOTAL\tææwsæ¯é\n";
$_->print qw/ team name att_ws pitch_ws def_ws ws pitcher_ws_weight / for $league->pitchers;
print "\n";
#$_->print qw/ name c_claim_percentage b1_claim_percentage b2_claim_percentage b3_claim_percentage ss_claim_percentage of_claim_percentage / for $league->teams;
#print Dumper($league->teams('bears'));
for ($league->batters) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Baseball/Simulation.pm view on Meta::CPAN
# StolenBases
#
# Description: Calculates the averages for the batting statistics
#
# Returns: The array consisting the cumalitve averages for:
# WalkChance - The percentage for a walk
# SingleChance - The percentage that a single can be hit
# DoubleChance - The percentage that a single can be hit
# TripleChance - The percentage that a single can be hit
# HomerChance - The percentage that a single can be hit
# SacChance - The percentage that a sacrifice occurs
# StolenBaseChance - The percentage that a stolen base occurs
#
##################################################
sub CreateBatterArray(@) {
my ($AtBats, $Hits, $Doubles, $Triples, $Homers, $Walks, $Steals) = @_;
my $TotalAtBats = $AtBats + $Walks;
lib/Baseball/Simulation.pm view on Meta::CPAN
}
##################################################
# AtBat
#
# Parameters: WalkChance - The percentage for a walk
# SingleChance - The percentage that a single can be hit
# DoubleChance - The percentage that a single can be hit
# TripleChance - The percentage that a single can be hit
# HomerChance - The percentage that a single can be hit
# SacChance - The percentage that a single can be hit
# StolenBaseChance - The percentage that a single can be hit
#
# Description: Simulates an at-bat
#
# Returns: The result - -1 = walk
# 0 = out
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Basket/Calc.pm view on Meta::CPAN
carp "'$key' missing";
return;
}
}
unless ($discount->{type} =~ m/^(percent|amount)$/x) {
carp "'type' has to be either percent, or amount";
return;
}
unless (looks_like_number($discount->{value})) {
carp "'value' is not a number";
return;
}
given ($discount->{type}) {
when ('percent') {
if ($discount->{value} <= 0 or $discount->{value} > 1) {
carp "'percent' has to be a decimal between 0 and 1";
return;
}
}
when ('amount') {
$discount->{currency} = $self->currency
lib/Basket/Calc.pm view on Meta::CPAN
if ($self->discount) {
print __PACKAGE__ . ' discount: ' . join(' ', %{ $self->discount }) . $/
if $self->debug;
given ($self->discount->{type}) {
when ('percent') {
$total->{net} *= (1 - $self->discount->{value});
}
when ('amount') {
$total->{net} = $total->{net} - $self->discount->{value};
$total->{net} = 0 if $total->{net} < 0;
lib/Basket/Calc.pm view on Meta::CPAN
my $basket = Basket::Calc->new(debug => 1, currency => 'NZD', tax => .15);
$basket->add_item({ price => 14.90, currency => 'USD', quantity => 2 });
$basket->add_item({ price => 59, currency => 'EUR'});
$basket->add_item({ price => 119.15, currency => 'JPY' });
$basket->add_discount({ type => 'percent', value => .2 });
# or
$basket->add_discount({ type => 'amount', value => 15, currency => 'HKD' });
print dump $basket->calculate;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/BeamerReveal/Object/BeamerFrame.pm view on Meta::CPAN
exists $self->{parameters}->{embed} or exists $presentation->{parameters}->{embed};
###############################################
# process all video material / can be embedded
foreach my $video (@{$self->{videos}}) {
my %commonStamps = ( X => _topercent( $video->{x} ),
Y => _topercent( $video->{y} ),
W => _topercent( $video->{width} ),
H => _topercent( $video->{height} ),
VIDEOID => 'embedded-id-' . $embeddedID++,
VIDEOEMBEDDEDB64 => $videoContent,
MIMETYPE => $mimeType,
FIT => $video->{fit},
AUTOPLAY => exists $video->{autoplay} ? 'data-autoplay' : '',
lib/BeamerReveal/Object/BeamerFrame.pm view on Meta::CPAN
###############################################
# process all audio material / can be embedded
my $voCounter = 0;
foreach my $audio (@{$self->{audios}}) {
my %commonStamps = ( X => _topercent( $audio->{x} ),
Y => _topercent( $audio->{y} ),
W => _topercent( $audio->{width} ),
H => _topercent( $audio->{height} ),
FIT => $audio->{fit},
AUTOPLAY => exists $audio->{autoplay} ? 'data-autoplay' : '',
CONTROLS => exists $audio->{controls} ? 'controls' : '',
MUTED => exists $audio->{muted} ? 'muted' : '',
LOOP => exists $audio->{loop} ? 'loop' : '' );
lib/BeamerReveal/Object/BeamerFrame.pm view on Meta::CPAN
}
###############################################
# process all image material / can be embedded
foreach my $image (@{$self->{images}}) {
my %commonStamps = ( X => _topercent( $image->{x} ),
Y => _topercent( $image->{y} ),
W => _topercent( $image->{width} ),
H => _topercent( $image->{height} ),
IMAGEID => 'embedded-id-' . $embeddedID++,
IMAGEEMBEDDEDB64 => $imageContent,
MIMETYPE => $mimeType,
FIT => $image->{fit}
);
lib/BeamerReveal/Object/BeamerFrame.pm view on Meta::CPAN
}
################################################
# process all iframe material / can be embedded
foreach my $iframe (@{$self->{iframes}}) {
my %commonStamps = ( X => _topercent( $iframe->{x} ),
Y => _topercent( $iframe->{y} ),
W => _topercent( $iframe->{width} ),
H => _topercent( $iframe->{height} ),
FIT => $iframe->{fit}
);
my $iStamps;
my $iTemplate;
if ( exists $iframe->{embed} or exists $presentation->{parameters}->{embed} ) {
lib/BeamerReveal/Object/BeamerFrame.pm view on Meta::CPAN
###########################################
# process all animations / can be embedded
my $aCounter = 0;
foreach my $animation (@{$self->{animations}}) {
my %commonStamps = (X => _topercent( $animation->{x} ),
Y => _topercent( $animation->{y} ),
W => _topercent( $animation->{width} ),
H => _topercent( $animation->{height} ),
AUTOPLAY => exists $animation->{autoplay} ? 'data-autoplay' : '',
CONTROLS => exists $animation->{controls} ? 'controls' : '',
LOOP => exists $animation->{loop} ? 'loop' : '',
FIT => $animation->{fit},
);
lib/BeamerReveal/Object/BeamerFrame.pm view on Meta::CPAN
#######################################
# process all stills / can be embedded
my $sCounter = 0;
foreach my $still (@{$self->{stills}}) {
my %commonStamps = ( X => _topercent( $still->{x} ),
Y => _topercent( $still->{y} ),
W => _topercent( $still->{width} ),
H => _topercent( $still->{height} ),
FIT => $still->{fit},
);
my $sTemplate;
my $sStamps;
lib/BeamerReveal/Object/BeamerFrame.pm view on Meta::CPAN
return BeamerReveal::TemplateStore::stampTemplate( $fTemplate, $fStamps );
}
}
sub _topercent {
confess() unless defined $_[0];
return sprintf( "%.2f%%", $_[0] * 100 );
}
sub _modernize {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Beekeeper/Worker.pm view on Meta::CPAN
# Average errors per second
my $err = sprintf("%.2f", $worker->{error_count} / $period);
$worker->{error_count} = 0;
# Average load as percentage of wall clock busy time (not cpu usage)
my $load = sprintf("%.2f", ($BUSY_TIME - $worker->{busy_time}) / $period * 100);
$worker->{busy_time} = $BUSY_TIME;
# Queues
my %queues;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bencher/Formatter/AddComparisonFields.pm view on Meta::CPAN
return unless defined $slowest_time;
$self->add_field(
$envres,
'pct_faster_vs_slowest',
{after=>'time', align=>'number', format=>'percent'},
sub {
for my $rit (@{$envres->[2]}) {
$rit->{pct_faster_vs_slowest} =
($slowest_time - $rit->{time}) / $rit->{time};;
}
}
);
$self->add_field(
$envres,
'pct_slower_vs_fastest',
{after=>'pct_faster_vs_slowest', align=>'number', format=>'percent'},
sub {
for my $rit (@{$envres->[2]}) {
$rit->{pct_slower_vs_fastest} =
($rit->{time} - $fastest_time) / $fastest_time;
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bencher/ScenarioR/AcmePERLANCARTestPerformance.pm view on Meta::CPAN
## no critic
package Bencher::ScenarioR::AcmePERLANCARTestPerformance;
our $VERSION = "0.060"; # VERSION
our $results = do{my$var=[[200,"OK",[{_name=>"",_succinct_name=>"",dataset=>100,ds_tags=>"",errors=>3.3e-09,modver=>0.06,p_tags=>"",participant=>"Acme::PERLANCAR::Test::Performance::primes",pct_faster_vs_slowest=>0,pct_slower_vs_fastest=>0,perl=>"per...
1;
# ABSTRACT: Benchmark Acme::PERLANCAR::Test::Performance
=head1 DESCRIPTION
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bencher/ScenarioR/Allocations.pm view on Meta::CPAN
## no critic
package Bencher::ScenarioR::Allocations;
our $VERSION = "0.040"; # VERSION
our $results = [[200,"OK",[{_name=>"participant=1k-hash100",_succinct_name=>"1k-hash100",errors=>6.8e-06,participant=>"1k-hash100",pct_faster_vs_slowest=>0,pct_slower_vs_fastest=>89.0440384612721,rate=>150,samples=>20,time=>6.5},{_name=>"participant=...
1;
# ABSTRACT: Benchmark allocations
=head1 DESCRIPTION
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bencher/ScenarioR/App/Sorted.pm view on Meta::CPAN
## no critic
package Bencher::ScenarioR::App::Sorted;
our $VERSION = 0.002; # VERSION
our $results = [[200,"OK",[{_name=>"dataset=100k-sorted participant=sorted",_succinct_name=>"sorted 100k-sorted",dataset=>"100k-sorted",errors=>0.00023,participant=>"sorted",pct_faster_vs_slowest=>0,pct_slower_vs_fastest=>1.1,rate=>4.8,samples=>8,tim...
1;
# ABSTRACT: Benchmark sorted vs is-sorted
=head1 DESCRIPTION
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bencher/ScenarioR/AppSorted.pm view on Meta::CPAN
## no critic
package Bencher::ScenarioR::AppSorted;
our $VERSION = 0.002; # VERSION
our $results = [[200,"OK",[{_name=>"dataset=100k-sorted participant=sorted",_succinct_name=>"sorted 100k-sorted",dataset=>"100k-sorted",errors=>0.0011,participant=>"sorted",pct_faster_vs_slowest=>0,pct_slower_vs_fastest=>0.904761904761905,rate=>8.1,s...
1;
# ABSTRACT: Benchmark sorted vs is-sorted
=head1 DESCRIPTION
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bencher/ScenarioR/Array/Sample/Partition.pm view on Meta::CPAN
## no critic
package Bencher::ScenarioR::Array::Sample::Partition;
our $VERSION = 0.002; # VERSION
our $results = [[200,"OK",[{_name=>"dataset=500/1000",_succinct_name=>"500/1000",dataset=>"500/1000",errors=>2.7e-07,pct_faster_vs_slowest=>0,pct_slower_vs_fastest=>152.225806451613,rate=>5200,samples=>20,time=>190},{_name=>"dataset=100/1000",_succin...
1;
# ABSTRACT: Benchmark Array::Sample::Partition hash
=head1 DESCRIPTION
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bencher/ScenarioR/ArraySamplePartition.pm view on Meta::CPAN
## no critic
package Bencher::ScenarioR::ArraySamplePartition;
our $VERSION = 0.002; # VERSION
our $results = [[200,"OK",[{_name=>"dataset=500/1000",_succinct_name=>"500/1000",dataset=>"500/1000",errors=>5.3e-08,pct_faster_vs_slowest=>0,pct_slower_vs_fastest=>149.649350649351,rate=>8650,samples=>20,time=>116},{_name=>"dataset=100/1000",_succin...
1;
# ABSTRACT: Benchmark Array::Sample::Partition hash
=head1 DESCRIPTION
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bencher/ScenarioR/ArrayVsHashBuilding.pm view on Meta::CPAN
## no critic
package Bencher::ScenarioR::ArrayVsHashBuilding;
our $VERSION = 0.002; # VERSION
our $results = [[200,"OK",[{_name=>"dataset=elems=10000 participant=hash",_succinct_name=>"hash elems=10000",dataset=>"elems=10000",errors=>1.4e-06,participant=>"hash",pct_faster_vs_slowest=>0,pct_slower_vs_fastest=>6195.37750238322,rate=>740,samples...
1;
# ABSTRACT: Benchmark building array vs hash
=head1 DESCRIPTION
view all matches for this distribution
view release on metacpan or search on metacpan
},
"runtime" : {
"requires" : {
"Bencher::Backend" : "1.062",
"Data::Sah::Coerce::perl::To_array::From_str::comma_sep" : "0",
"Data::Sah::Coerce::perl::To_float::From_str::percent" : "0",
"Data::Sah::Compiler::perl::TH::array" : "0.914",
"Data::Sah::Compiler::perl::TH::bool" : "0.914",
"Data::Sah::Compiler::perl::TH::float" : "0.914",
"Data::Sah::Compiler::perl::TH::hash" : "0.914",
"Data::Sah::Compiler::perl::TH::int" : "0.914",
view all matches for this distribution