ScenarioR/Tie/Scalar.pm

filter: Statementstmt 100% 3 / 3 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 100% 3 / 3 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« ScenarioR/Tie/Hash.pm ↑ Summary Scenarios/Tie.pm »
1 ## no critic
2 package Bencher::ScenarioR::Tie::Scalar;
3  
4 1 our $VERSION = 0.002; # VERSION
5  
6 1 our $results = [[200,"OK",[{_name=>"participant=read-tied-100k",_succinct_name=>"read-tied-100k",errors=>0.00035,participant=>"read-tied-100k",pct_faster_vs_slowest=>0,pct_slower_vs_fastest=>9,rate=>40,samples=>20,time=>30},{_name=>"participant=write-tied-100k",_succinct_name=>"write-tied-100k",errors=>0.00015,participant=>"write-tied-100k",pct_faster_vs_slowest=>0.363636363636364,pct_slower_vs_fastest=>6.33333333333333,rate=>45,samples=>20,time=>22},{_name=>"participant=read-notie-100k",_succinct_name=>"read-notie-100k",errors=>6.6e-05,participant=>"read-notie-100k",pct_faster_vs_slowest=>9,pct_slower_vs_fastest=>0,rate=>300,samples=>20,time=>3},{_name=>"participant=write-notie-100k",_succinct_name=>"write-notie-100k",errors=>2.8e-05,participant=>"write-notie-100k",pct_faster_vs_slowest=>9,pct_slower_vs_fastest=>0,rate=>330,samples=>20,time=>3}],{"func.bencher_args"=>{action=>"bench",note=>"Run by Pod::Weaver::Plugin::Bencher::Scenario",scenario=>{modules=>{"Tie::Scalar::NoOp"=>{}},participants=>[{code_template=>"tie my \$var, \"Tie::Scalar::NoOp\"; my \$var2; for (1..100_000) { \$var2 = \$var }",include_by_default=>1,name=>"read-tied-100k",seq=>0,type=>"perl_code"},{code_template=>"my \$var; my \$var2; for (1..100_000) { \$var2 = \$var }",include_by_default=>1,name=>"read-notie-100k",seq=>1,type=>"perl_code"},{code_template=>"tie my \$var, \"Tie::Scalar::NoOp\"; for (1..100_000) { \$var = 42 }",include_by_default=>1,name=>"write-tied-100k",seq=>2,type=>"perl_code"},{code_template=>"my \$var; for (1..100_000) { \$var = 42 }",include_by_default=>1,name=>"write-notie-100k",seq=>3,type=>"perl_code"}],summary=>"Benchmark the overhead of tied scalar"}},"func.bencher_version"=>undef,"func.code_startup"=>undef,"func.cpu_info"=>[{L2_cache=>{max_cache_size=>"3072 KB"},address_width=>64,architecture=>"AMD-64",bus_speed=>undef,data_width=>64,family=>6,flags=>["fpu","vme","de","pse","tsc","msr","pae","mce","cx8","apic","sep","mtrr","pge","mca","cmov","pat","pse36","clflush","dts","acpi","mmx","fxsr","sse","sse2","ss","ht","tm","pbe","syscall","nx","pdpe1gb","rdtscp","lm","constant_tsc","art","arch_perfmon","pebs","bts","rep_good","nopl","xtopology","nonstop_tsc","cpuid","aperfmperf","pni","pclmulqdq","dtes64","monitor","ds_cpl","vmx","est","tm2","ssse3","sdbg","fma","cx16","xtpr","pdcm","pcid","sse4_1","sse4_2","x2apic","movbe","popcnt","tsc_deadline_timer","aes","xsave","avx","f16c","rdrand","lahf_lm","abm","3dnowprefetch","cpuid_fault","epb","invpcid_single","pti","ssbd","ibrs","ibpb","stibp","tpr_shadow","vnmi","flexpriority","ept","vpid","ept_ad","fsgsbase","tsc_adjust","bmi1","avx2","smep","bmi2","erms","invpcid","mpx","rdseed","adx","smap","clflushopt","intel_pt","xsaveopt","xsavec","xgetbv1","xsaves","dtherm","ida","arat","pln","pts","hwp","hwp_notify","hwp_act_window","hwp_epp","md_clear","flush_l1d","arch_capabilities"],manufacturer=>"GenuineIntel",model=>142,name=>"Intel(R) Core(TM) i5-7200U CPU \@ 2.50GHz",number_of_cores=>2,number_of_logical_processors=>4,processor_id=>0,speed=>3070.381,stepping=>9},{L2_cache=>{max_cache_size=>"3072 KB"},address_width=>64,architecture=>"AMD-64",bus_speed=>undef,data_width=>64,family=>6,flags=>["fpu","vme","de","pse","tsc","msr","pae","mce","cx8","apic","sep","mtrr","pge","mca","cmov","pat","pse36","clflush","dts","acpi","mmx","fxsr","sse","sse2","ss","ht","tm","pbe","syscall","nx","pdpe1gb","rdtscp","lm","constant_tsc","art","arch_perfmon","pebs","bts","rep_good","nopl","xtopology","nonstop_tsc","cpuid","aperfmperf","pni","pclmulqdq","dtes64","monitor","ds_cpl","vmx","est","tm2","ssse3","sdbg","fma","cx16","xtpr","pdcm","pcid","sse4_1","sse4_2","x2apic","movbe","popcnt","tsc_deadline_timer","aes","xsave","avx","f16c","rdrand","lahf_lm","abm","3dnowprefetch","cpuid_fault","epb","invpcid_single","pti","ssbd","ibrs","ibpb","stibp","tpr_shadow","vnmi","flexpriority","ept","vpid","ept_ad","fsgsbase","tsc_adjust","bmi1","avx2","smep","bmi2","erms","invpcid","mpx","rdseed","adx","smap","clflushopt","intel_pt","xsaveopt","xsavec","xgetbv1","xsaves","dtherm","ida","arat","pln","pts","hwp","hwp_notify","hwp_act_window","hwp_epp","md_clear","flush_l1d","arch_capabilities"],manufacturer=>"GenuineIntel",model=>142,name=>"Intel(R) Core(TM) i5-7200U CPU \@ 2.50GHz",number_of_cores=>2,number_of_logical_processors=>4,processor_id=>1,speed=>3017.447,stepping=>9},{L2_cache=>{max_cache_size=>"3072 KB"},address_width=>64,architecture=>"AMD-64",bus_speed=>undef,data_width=>64,family=>6,flags=>["fpu","vme","de","pse","tsc","msr","pae","mce","cx8","apic","sep","mtrr","pge","mca","cmov","pat","pse36","clflush","dts","acpi","mmx","fxsr","sse","sse2","ss","ht","tm","pbe","syscall","nx","pdpe1gb","rdtscp","lm","constant_tsc","art","arch_perfmon","pebs","bts","rep_good","nopl","xtopology","nonstop_tsc","cpuid","aperfmperf","pni","pclmulqdq","dtes64","monitor","ds_cpl","vmx","est","tm2","ssse3","sdbg","fma","cx16","xtpr","pdcm","pcid","sse4_1","sse4_2","x2apic","movbe","popcnt","tsc_deadline_timer","aes","xsave","avx","f16c","rdrand","lahf_lm","abm","3dnowprefetch","cpuid_fault","epb","invpcid_single","pti","ssbd","ibrs","ibpb","stibp","tpr_shadow","vnmi","flexpriority","ept","vpid","ept_ad","fsgsbase","tsc_adjust","bmi1","avx2","smep","bmi2","erms","invpcid","mpx","rdseed","adx","smap","clflushopt","intel_pt","xsaveopt","xsavec","xgetbv1","xsaves","dtherm","ida","arat","pln","pts","hwp","hwp_notify","hwp_act_window","hwp_epp","md_clear","flush_l1d","arch_capabilities"],manufacturer=>"GenuineIntel",model=>142,name=>"Intel(R) Core(TM) i5-7200U CPU \@ 2.50GHz",number_of_cores=>2,number_of_logical_processors=>4,processor_id=>2,speed=>3058.856,stepping=>9},{L2_cache=>{max_cache_size=>"3072 KB"},address_width=>64,architecture=>"AMD-64",bus_speed=>undef,data_width=>64,family=>6,flags=>["fpu","vme","de","pse","tsc","msr","pae","mce","cx8","apic","sep","mtrr","pge","mca","cmov","pat","pse36","clflush","dts","acpi","mmx","fxsr","sse","sse2","ss","ht","tm","pbe","syscall","nx","pdpe1gb","rdtscp","lm","constant_tsc","art","arch_perfmon","pebs","bts","rep_good","nopl","xtopology","nonstop_tsc","cpuid","aperfmperf","pni","pclmulqdq","dtes64","monitor","ds_cpl","vmx","est","tm2","ssse3","sdbg","fma","cx16","xtpr","pdcm","pcid","sse4_1","sse4_2","x2apic","movbe","popcnt","tsc_deadline_timer","aes","xsave","avx","f16c","rdrand","lahf_lm","abm","3dnowprefetch","cpuid_fault","epb","invpcid_single","pti","ssbd","ibrs","ibpb","stibp","tpr_shadow","vnmi","flexpriority","ept","vpid","ept_ad","fsgsbase","tsc_adjust","bmi1","avx2","smep","bmi2","erms","invpcid","mpx","rdseed","adx","smap","clflushopt","intel_pt","xsaveopt","xsavec","xgetbv1","xsaves","dtherm","ida","arat","pln","pts","hwp","hwp_notify","hwp_act_window","hwp_epp","md_clear","flush_l1d","arch_capabilities"],manufacturer=>"GenuineIntel",model=>142,name=>"Intel(R) Core(TM) i5-7200U CPU \@ 2.50GHz",number_of_cores=>2,number_of_logical_processors=>4,processor_id=>3,speed=>3057.676,stepping=>9}],"func.elapsed_time"=>1.61765003204346,"func.module_startup"=>undef,"func.module_versions"=>{"Benchmark::Dumb"=>0.503,"Devel::Platform::Info"=>"1.00","Sys::Info"=>0.7811,"Tie::Scalar::NoOp"=>0.001,__PACKAGE__=>1.063,perl=>"v5.38.2"},"func.note"=>"Run by Pod::Weaver::Plugin::Bencher::Scenario","func.permute"=>["perl",["perl"],"participant",[0,1,2,3]],"func.platform_info"=>{archname=>"x86_64",codename=>"focal",is32bit=>0,is64bit=>1,kernel=>"linux-5.4.0-164-generic",kname=>"Linux",kvers=>"5.4.0-164-generic",osflag=>"linux",oslabel=>"Ubuntu",osname=>"GNU/Linux",osvers=>20.04,source=>{"cat /etc/.issue"=>"","cat /etc/issue"=>"Ubuntu 20.04.6 LTS \\n \\l","lsb_release -a"=>"LSB Version:\tcore-11.1.0ubuntu2-noarch:printing-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch\nDistributor ID:\tUbuntu\nDescription:\tUbuntu 20.04.6 LTS\nRelease:\t20.04\nCodename:\tfocal","uname -a"=>"Linux u1-XPS-13-9360 5.4.0-164-generic #181-Ubuntu SMP Fri Sep 1 13:41:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux","uname -m"=>"x86_64","uname -o"=>"GNU/Linux","uname -r"=>"5.4.0-164-generic","uname -s"=>"Linux"}},"func.precision"=>0,"func.time_end"=>1703660366.5962,"func.time_factor"=>1,"func.time_start"=>1703660364.97855,"table.field_aligns"=>["left","left","number","number","number","number","number","number","number","number"],"table.field_formats"=>[undef,undef,undef,undef,"percent","percent","percent","percent",undef,undef],"table.field_units"=>[undef,undef,"/s","ms",undef,undef],"table.fields"=>["participant","dataset","rate","time","pct_faster_vs_slowest","pct_slower_vs_fastest","pct_faster_vs_slowest","pct_slower_vs_fastest","errors","samples"]}]];
7  
8 1 1;
9 # ABSTRACT: Benchmark the overhead of tied scalar
10  
11 =head1 DESCRIPTION
12  
13 This module is automatically generated by Pod::Weaver::Plugin::Bencher::Scenario during distribution build.
14  
15 A Bencher::ScenarioR::* module contains the raw result of sample benchmark and might be useful for some stuffs later.
16  
« ScenarioR/Tie/Hash.pm ↑ Summary Scenarios/Tie.pm »