view release on metacpan or search on metacpan
lib/Bencher/ScenarioR/RegexpGrammars/Startup.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/RegexpGrammars/Startup.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/RegexpGrammars/Startup.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/RegexpGrammars/Startup.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bencher/ScenarioR/RegexpPattern/Startup.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/RegexpPattern/Startup.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/RegexpPattern/Startup.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/RegexpPattern/Startup.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bencher/ScenarioR/RoleTinyCommonsTree/Startup.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/RoleTinyCommonsTree/Startup.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/RoleTinyCommonsTree/Startup.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/RoleTinyCommonsTree/Startup.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bencher/ScenarioR/SPVM/Prime.pm view on Meta::CPAN
## no critic
package Bencher::ScenarioR::SPVM::Prime;
our $VERSION = 0.008; # VERSION
our $results = [[200,"OK",[{_name=>"participant=Perl",_succinct_name=>"P",errors=>1.4e-05,participant=>"Perl",pct_faster_vs_slowest=>0,pct_slower_vs_fastest=>16.0336037079954,rate=>22.7,samples=>20,time=>44.1},{_name=>"participant=SPVM",_succinct_nam...
1;
# ABSTRACT: Benchmark SPVM (check if number is prime)
=head1 DESCRIPTION
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bencher/ScenarioR/ShellGuess/Overhead.pm view on Meta::CPAN
## no critic
package Bencher::ScenarioR::ShellGuess::Overhead;
our $VERSION = 0.003; # VERSION
our $results = [[200,"OK",[{_name=>"participant=load Shell::Guess + running_shell",_succinct_name=>"load Shell::Guess + running_shell",errors=>3.8e-05,participant=>"load Shell::Guess + running_shell",pct_faster_vs_slowest=>0,pct_slower_vs_fastest=>3....
1;
# ABSTRACT: Benchmark the startup overhead of guessing shell
=head1 DESCRIPTION
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bencher/ScenarioR/SortSub/naturally.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/SortSub/naturally.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/SortSub/naturally.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/SortSub/naturally.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/SortSub/naturally.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/SortSub/naturally.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/SortSub/naturally.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/SortSub/naturally.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bencher/ScenarioR/StringFunctions/CommonPrefix.pm view on Meta::CPAN
## no critic
package Bencher::ScenarioR::StringFunctions::CommonPrefix;
our $VERSION = 0.006; # VERSION
our $results = [[200,"OK",[{_name=>"",_succinct_name=>"",dataset=>"elems0",ds_tags=>"",errors=>0,p_tags=>"",participant=>"String::CommonPrefix::common_prefix",pct_faster_vs_slowest=>0,pct_slower_vs_fastest=>0,perl=>"perl",rate=>7697760,samples=>20,ti...
1;
# ABSTRACT: Benchmark calculating common prefix
=head1 DESCRIPTION
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bencher/ScenarioR/Text/Table/Sprintf/Render.pm view on Meta::CPAN
## no critic
package Bencher::ScenarioR::Text::Table::Sprintf::Render;
our $VERSION = 0.001; # VERSION
our $results = [[200,"OK",[{_name=>"dataset=large (30x300)",_succinct_name=>"large (30x300)",dataset=>"large (30x300)",errors=>3.4e-05,modver=>0.006,pct_faster_vs_slowest=>0,pct_slower_vs_fastest=>823.175824175824,rate=>400,samples=>20,time=>3},{_nam...
1;
# ABSTRACT: Benchmark Text::Table::Sprintf's rendering speed
=head1 DESCRIPTION
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bencher/ScenarioR/TextANSIUtil/Startup.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/TextANSIUtil/Startup.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/TextANSIUtil/Startup.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/TextANSIUtil/Startup.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bencher/ScenarioR/TextLevenshteinFlexible/levenshtein_l.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/TextLevenshteinFlexible/levenshtein_l.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/TextLevenshteinFlexible/levenshtein_l.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/TextLevenshteinFlexible/levenshtein_l.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bencher/ScenarioR/TextTableTiny/Render.pm view on Meta::CPAN
## no critic
package Bencher::ScenarioR::TextTableTiny::Render;
our $VERSION = 0.002; # VERSION
our $results = [[200,"OK",[{dataset=>"large (30x300)",errors=>6.7e-05,modver=>"1.00",pct_faster_vs_slowest=>0,pct_slower_vs_fastest=>2411.34213802337,rate=>64,samples=>21,time=>16},{dataset=>"large (30x300)",errors=>3.5e-05,modver=>"0.05_03",pct_fast...
1;
# ABSTRACT: Benchmark Text::Table::Tiny's rendering speed
=head1 DESCRIPTION
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bencher/ScenarioR/Tie/Array.pm view on Meta::CPAN
## no critic
package Bencher::ScenarioR::Tie::Array;
our $VERSION = 0.002; # VERSION
our $results = [[200,"OK",[{_name=>"participant=push-pop-tied-100k",_succinct_name=>"push-pop-tied-100k",errors=>0.00015,participant=>"push-pop-tied-100k",pct_faster_vs_slowest=>0,pct_slower_vs_fastest=>3.5,rate=>28,samples=>20,time=>36},{_name=>"par...
1;
# ABSTRACT: Benchmark the overhead of tied array
=head1 DESCRIPTION
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bencher/ScenarioR/TimeDurationParse/parse_duration.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/TimeDurationParse/parse_duration.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/TimeDurationParse/parse_duration.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/TimeDurationParse/parse_duration.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bencher/ScenarioR/TimeHiRes/sleep_accuracy.pm view on Meta::CPAN
"pcid",
"sse4_1",
"sse4_2",
"x2apic",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"lahf_lm",
"epb",
lib/Bencher/ScenarioR/TimeHiRes/sleep_accuracy.pm view on Meta::CPAN
"pcid",
"sse4_1",
"sse4_2",
"x2apic",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"lahf_lm",
"epb",
lib/Bencher/ScenarioR/TimeHiRes/sleep_accuracy.pm view on Meta::CPAN
"pcid",
"sse4_1",
"sse4_2",
"x2apic",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"lahf_lm",
"epb",
lib/Bencher/ScenarioR/TimeHiRes/sleep_accuracy.pm view on Meta::CPAN
"pcid",
"sse4_1",
"sse4_2",
"x2apic",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"lahf_lm",
"epb",
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bencher/ScenarioR/TreeObject/Build.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/TreeObject/Build.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/TreeObject/Build.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/TreeObject/Build.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/TreeObject/Build.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/TreeObject/Build.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/TreeObject/Build.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
lib/Bencher/ScenarioR/TreeObject/Build.pm view on Meta::CPAN
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bencher/ScenarioR/URI/Info/info.pm view on Meta::CPAN
## no critic
package Bencher::ScenarioR::URI::Info::info;
our $VERSION = 0.002; # VERSION
our $results = [[200,"OK",[{_name=>"participant=URI::Info (all 3 plugins)",_succinct_name=>"URI::Info (all 3 plugins)",errors=>6e-11,participant=>"URI::Info (all 3 plugins)",pct_faster_vs_slowest=>0,pct_slower_vs_fastest=>1.42005882352941,rate=>24307...
1;
# ABSTRACT: Benchmark info()
=head1 DESCRIPTION
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bencher/ScenarioR/Z/Overhead.pm view on Meta::CPAN
## no critic
package Bencher::ScenarioR::Z::Overhead;
our $VERSION = 0.005; # VERSION
our $results = [[200,"OK",[{code_overhead_time=>157.3,errors=>0.00013,participant=>"use Zydeco;",pct_faster_vs_slowest=>0,pct_slower_vs_fastest=>23.3827497943659,samples=>20,time=>164},{code_overhead_time=>133.3,errors=>0.00022,participant=>"use Moos...
1;
# ABSTRACT: Measure startup overhead of Z
=head1 DESCRIPTION
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Benchmark/CSV.pm view on Meta::CPAN
sub _timing_method {
my ($self) = @_;
return $timing_methods->{ $self->timing_method };
}
sub _compile_timer {
## no critic (Variables::ProhibitUnusedVarsStricter)
my ( $self, $name, $code, $sample_size ) = @_;
## no critic (ValuesAndExpressions::RequireInterpolationOfMetachars);
my $run_one = q[ $code->(); ];
my $run_batch = join qq[\n], map { $run_one } 1 .. $sample_size;
lib/Benchmark/CSV.pm view on Meta::CPAN
sub run_iterations {
my $nargs = ( my ( $self, $count ) = @_ );
croak 'Arguments missing to ->run_iterations( num )' if $nargs < 2;
$self->_write_header;
my $sample_size = $self->sample_size;
my $timers = {};
for my $instance ( keys %{ $self->{instances} } ) {
$timers->{$instance} = $self->_compile_timer( $instance, $self->{instances}->{$instance}, $sample_size );
}
my @timer_names = keys %{$timers};
for ( 1 .. ( $count / $sample_size ) ) {
$self->_write_result( +{ map { $timers->{$_}->() } shuffle @timer_names } );
}
$self->output_fh->flush;
return;
}
lib/Benchmark/CSV.pm view on Meta::CPAN
->sample_size(4);
->add_instance( x => $y );
->run_iterations(40);
This will create a timer block similar to below.
my $start = time();
# Unrolled, because benchmarking indicated unrolling was faster.
$y->();
$y->();
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Benchmark/Confirm.pm view on Meta::CPAN
croak "runloop unable to compile '$c': $@\ncode: $subcode\n" if $@;
print STDERR "runloop $n '$subcode'\n" if $Benchmark::Debug;
push @Benchmark::Confirm::CONFIRMS, $confirmref->();
# Wait for the user timer to tick. This makes the error range more like
# -0.01, +0. If we don't wait, then it's more like -0.01, +0.01. This
# may not seem important, but it significantly reduces the chances of
# getting a too low initial $n in the initial, 'find the minimum' loop
# in &countit. This, in turn, can reduce the number of calls to
# &runloop a lot, and thus reduce additive errors.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Benchmark/Lab.pm view on Meta::CPAN
=for Pod::Coverage BUILD
=head1 CAVEATS
If the C<do_task> executes in less time than the timer granularity, an
error will be thrown. For benchmarks that do not have before/after functions,
just repeating the function under test in C<do_task> will be sufficient.
=head1 RATIONALE
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Benchmark/MCE.pm view on Meta::CPAN
$Benchmark::MCE::QUIET = 1;
=head1 NOTES
The framework uses a monotonic timer for non-Windows systems with at least v1.9764
of C<Time::HiRes> (C<$Benchmark::MCE::MONO_CLOCK> will be true).
=head1 AUTHOR
Dimitrios Kechagias, C<< <dkechag at cpan.org> >>
view all matches for this distribution
view release on metacpan or search on metacpan
share/P6STD/std_hilite/jquery-1.4.2.min.js view on Meta::CPAN
"json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(i,o){if(c.isArray(o))c.each(o,function(k,n){b||/\[\]$/.test(i)?f(i,n):d(i+"["+(typeof n===...
if(c.isArray(a)||a.jquery)c.each(a,function(){f(this.name,this.value)});else for(var j in a)d(j,a[j]);return e.join("&").replace(yb,"+")}});var la={},Ab=/toggle|show|hide/,Bb=/^([+-]=)?([\d+-.]+)(.*)$/,W,va=[["height","marginTop","marginBottom","padd...
this[a].style.display=d||"";if(c.css(this[a],"display")==="none"){d=this[a].nodeName;var f;if(la[d])f=la[d];else{var e=c("<"+d+" />").appendTo("body");f=e.css("display");if(f==="none")f="block";e.remove();la[d]=f}c.data(this[a],"olddisplay",f)}}a=0;f...
"olddisplay",c.css(this[a],"display"))}a=0;for(b=this.length;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var d=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments)...
animate:function(a,b,d,f){var e=c.speed(b,d,f);if(c.isEmptyObject(a))return this.each(e.complete);return this[e.queue===false?"each":"queue"](function(){var j=c.extend({},e),i,o=this.nodeType===1&&c(this).is(":hidden"),k=this;for(i in a){var n=i.repl...
j.specialEasing||{})[i]=a[i][1];a[i]=a[i][0]}}if(j.overflow!=null)this.style.overflow="hidden";j.curAnim=c.extend({},a);c.each(a,function(r,u){var z=new c.fx(k,j,r);if(Ab.test(u))z[u==="toggle"?o?"show":"hide":u](a);else{var C=Bb.exec(u),B=z.cur(true...
this.each(function(){for(var f=d.length-1;f>=0;f--)if(d[f].elem===this){b&&d[f](true);d.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opaci...
"number"?f.duration:c.fx.speeds[f.duration]||c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b,d,f){return d+f*a},swing:function...
c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop]...
this.pos=this.state=0;var e=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!W)W=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop===...
this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var f in this.options.curAnim)if(this.options.curAnim[f]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=c.data...
e,this.options.orig[e]);this.options.complete.call(this.elem)}return false}else{e=b-this.startTime;this.state=e/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options....
c.fx.stop()},stop:function(){clearInterval(W);W=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="...
function(a){var b=this[0];if(a)return this.each(function(e){c.offset.setOffset(this,a,e)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var d=b.getBoundingClientRect(),f=b.ownerDocument;b=f.body;f=f.do...
this[0];if(a)return this.each(function(r){c.offset.setOffset(this,a,r)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d=b.offsetParent,f=b,e=b.ownerDocument,j,i=e.documentElem...
k-=b.scrollTop;n-=b.scrollLeft;if(b===d){k+=b.offsetTop;n+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){k+=parseFloat(j.borderTopWidth)||0;n+=parseFloat(j.borderLeftWidth)||0...
f.position==="fixed"){k+=Math.max(i.scrollTop,o.scrollTop);n+=Math.max(i.scrollLeft,o.scrollLeft)}return{top:k,left:n}};c.offset={initialize:function(){var a=s.body,b=s.createElement("div"),d,f,e,j=parseFloat(c.curCSS(a,"marginTop",true))||0;c.extend...
a.insertBefore(b,a.firstChild);d=b.firstChild;f=d.firstChild;e=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=e.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixed...
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Benchmark/ProgressBar.pm view on Meta::CPAN
print STDERR "runloop $n '$subcode'\n" if $Benchmark::Debug;
# Give one more line so that the progress bar is easier on the eye
#print "\n";
# Wait for the user timer to tick. This makes the error range more like
# -0.01, +0. If we don't wait, then it's more like -0.01, +0.01. This
# may not seem important, but it significantly reduces the chances of
# getting a too low initial $n in the initial, 'find the minimum' loop
# in &countit. This, in turn, can reduce the number of calls to
# &runloop a lot, and thus reduce additive errors.
view all matches for this distribution
view release on metacpan or search on metacpan
return if $routine eq 'DESTROY';
# Create a new Timer object if we dont already have one
if (!exists $self->{stats}) {
$self->{stats} = new Benchmark::Timer();
}
# Start the timer, call the routine, then stop the timer.
# Finally return the results to the user.
my ($result,@results);
if (wantarray) {
# User called a routine that required an array/hash return value
$self->{stats}->start($routine);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Benchmark/Timer.pm view on Meta::CPAN
return if $self->[SKIPCOUNT]->{$tag} > 0;
my $i = exists $self->[ELAPSED]->{$tag} ?
scalar @{$self->[ELAPSED]->{$tag}} : 0;
my $before = $self->[BEFORE]->{$tag}->[$i];
croak 'timer out of sync' unless defined $before;
# Create a stats object if we need to
if (defined $self->[CONFIDENCE] && !defined $self->[STAT]->{$tag})
{
$self->[STAT]->{$tag} = Statistics::PointEstimation->new;
lib/Benchmark/Timer.pm view on Meta::CPAN
=over 4
=item $t = Benchmark::Timer->new( [options] );
Constructor for the Benchmark::Timer object; returns a reference to a
timer object. Takes the following named arguments:
=over 4
=item skip
lib/Benchmark/Timer.pm view on Meta::CPAN
=back
=item $t->reset;
Reset the timer object to the pristine state it started in.
Erase all memory of tags and any previously accumulated timings.
Returns a reference to the timer object. It takes the same arguments
the constructor takes.
=item $t->start($tag);
Record the current time so that when C<stop()> is called, we can calculate an
lib/Benchmark/Timer.pm view on Meta::CPAN
=item $t->stop($tag);
Record timing information. If $tag is supplied, it must correspond to one
given to a previously called C<start()> call. It returns the elapsed time in
milliseconds. C<stop()> croaks if the timer gets out of sync (e.g. the number
of C<start()>s does not match the number of C<stop()>s.)
=item $t->need_more_samples($tag);
Compute the estimated error in the average of the data collected thus far, and
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bigtop/Backend/HttpdConf/Gantry.pm view on Meta::CPAN
my $gantry_config = $tree->get_config->{Conf};
$instance = $gantry_config->{instance};
$conffile = $gantry_config->{conffile};
}
# let old timers go as before
$instance ||= $config->{instance } || 0;
$conffile ||= $config->{conffile } || 0;
if ( $instance and defined $config_type and $config_type ne 'base' ) {
$instance .= "_$config_type";
view all matches for this distribution
view release on metacpan or search on metacpan
bin/bp_bulk_load_gff view on Meta::CPAN
}
package main;
$main::VERSION = '1.7.4';
eval "use Time::HiRes"; undef $@;
my $timer = defined &Time::HiRes::time;
my $bWINDOWS = 0; # Boolean: is this a MSWindows operating system?
if ($^O =~ /MSWin32/i) {
$bWINDOWS = 1;
}
bin/bp_bulk_load_gff view on Meta::CPAN
my $gff3;
my $current_file; #used to reset GFF3 flag in mix of GFF and GFF3 files
$db->preferred_groups(split (/[,\s]+/,$GROUP_TAG)) if defined $GROUP_TAG;
my $last = Time::HiRes::time() if $timer;
my $start = $last;
# avoid hanging on standalone --fasta load
if (!@ARGV) {
$FH{NULL} = IO::File->new(">$tmpdir/null");
bin/bp_bulk_load_gff view on Meta::CPAN
$FH{ FATTRIBUTE() }->print( join("\t",$attributeid,$key),"\n" ) unless $DONE{"A$attributeid"}++;
$FH{ FATTRIBUTE_TO_FEATURE() }->print( join("\t",$fid,$attributeid,$value),"\n");
}
if ( $fid % 1000 == 0) {
my $now = Time::HiRes::time() if $timer;
my $elapsed = $timer ? sprintf(" in %5.2fs",$now - $last) : '';
$last = $now;
print STDERR "$fid features parsed$elapsed...";
print STDERR -t STDOUT && !$ENV{EMACS} ? "\r" : "\n";
}
}
bin/bp_bulk_load_gff view on Meta::CPAN
$FH{FATTRIBUTE_TO_FEATURE()}->print("\\.\n\n");
}
$_->close foreach values %FH;
printf STDERR "Total parse time %5.2fs\n",(Time::HiRes::time() - $start) if $timer;
warn "Loading feature data and analyzing tables. You may see RDBMS messages here...\n";
if ($use_pg){
warn "Loading feature data. You may see Postgres comments...\n";
bin/bp_bulk_load_gff view on Meta::CPAN
my $command = MYSQL . qq[$AUTH -s -e "$sql"];
$command =~ s/\n/ /g;
$success &&= system($command) == 0;
unlink "$tmpdir/$f.$$";
}
printf STDERR "Total load time %5.2fs\n",(time() - $start) if $timer;
print STDERR "done...\n";
print STDERR "Analyzing/optimizing tables. You will see database messages...\n";
$start = time();
my $sql = '';
view all matches for this distribution
view release on metacpan or search on metacpan
Emboss_time.xs view on Meta::CPAN
OUTPUT:
RETVAL
thys
AjBool
ajTimeSetLocal (thys, timer)
AjPTime thys
const time_t timer
OUTPUT:
RETVAL
thys
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bio/Grid/Run/SGE/Log/Notify/Jabber.pm view on Meta::CPAN
$j->broadcast;
},
);
$con->connect;
my $timer
= AnyEvent->timer( after => $self->wait_time, cb => sub { $self->log->info("close"); $j->broadcast; } );
$j->wait;
$con->disconnect;
return $msg_send_failed;
}
view all matches for this distribution