ScenarioR/PerinciSubGetArgsArgv/get_args_from_argv.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
« Scenario/PerinciSubGetArgsArgv/get_args_from_argv.pm ↑ Summary Scenarios/PerinciSubGetArgsArgv.pm »
1 package Bencher::ScenarioR::PerinciSubGetArgsArgv::get_args_from_argv;
2  
3 1 our $VERSION = 0.002; # VERSION
4  
5 1 our $results = [
6 [
7 200,
8 "OK",
9 [
10 {
11 dataset => "2 known args + 2 args named",
12 errors => 2.1e-07,
13 rate => 3920,
14 samples => 20,
15 time => 255,
16 vs_slowest => 1,
17 },
18 {
19 dataset => "2 known args + 2 args positional",
20 errors => 2.5e-07,
21 rate => 4600,
22 samples => 23,
23 time => 220,
24 vs_slowest => 1.2,
25 },
26 {
27 dataset => "meta norm + 2 known args + 2 args named",
28 errors => 2.7e-07,
29 rate => 5000,
30 samples => 20,
31 time => 200,
32 vs_slowest => 1.3,
33 },
34 {
35 dataset => "2 known args + 0 args",
36 errors => 4.3e-07,
37 rate => 5300,
38 samples => 20,
39 time => 190,
40 vs_slowest => 1.3,
41 },
42 {
43 dataset => "meta norm + 2 known args + 2 args positional",
44 errors => 2.1e-07,
45 rate => 6000,
46 samples => 20,
47 time => 170,
48 vs_slowest => 1.5,
49 },
50 {
51 dataset => "meta norm + 2 known args + 0 args",
52 errors => 2.1e-07,
53 rate => 7400,
54 samples => 20,
55 time => 140,
56 vs_slowest => 1.9,
57 },
58 {
59 dataset => "0 known args + 0 args",
60 errors => 1.1e-07,
61 rate => 20000,
62 samples => 20,
63 time => 50,
64 vs_slowest => 5.1,
65 },
66 {
67 dataset => "meta norm + 0 known args + 0 args",
68 errors => 4.5e-11,
69 rate => 28815,
70 samples => 20,
71 time => 34.705,
72 vs_slowest => 7.3581,
73 },
74 ],
75 {
76 "func.bencher_args" => {
77 action => "bench",
78 note => "Run by Pod::Weaver::Plugin::Bencher::Scenario",
79 scenario_module => "PerinciSubGetArgsArgv::get_args_from_argv",
80 },
81 "func.bencher_version" => undef,
82 "func.code_startup" => undef,
83 "func.cpu_info" => [
84 {
85 address_width => 64,
86 architecture => "AMD-64",
87 bus_speed => undef,
88 data_width => 64,
89 family => 6,
90 flags => [
91 "fpu",
92 "vme",
93 "de",
94 "pse",
95 "tsc",
96 "msr",
97 "pae",
98 "mce",
99 "cx8",
100 "apic",
101 "sep",
102 "mtrr",
103 "pge",
104 "mca",
105 "cmov",
106 "pat",
107 "pse36",
108 "clflush",
109 "dts",
110 "acpi",
111 "mmx",
112 "fxsr",
113 "sse",
114 "sse2",
115 "ss",
116 "ht",
117 "tm",
118 "pbe",
119 "syscall",
120 "nx",
121 "rdtscp",
122 "lm",
123 "constant_tsc",
124 "arch_perfmon",
125 "pebs",
126 "bts",
127 "rep_good",
128 "nopl",
129 "xtopology",
130 "nonstop_tsc",
131 "aperfmperf",
132 "eagerfpu",
133 "pni",
134 "pclmulqdq",
135 "dtes64",
136 "monitor",
137 "ds_cpl",
138 "vmx",
139 "smx",
140 "est",
141 "tm2",
142 "ssse3",
143 "cx16",
144 "xtpr",
145 "pdcm",
146 "pcid",
147 "sse4_1",
148 "sse4_2",
149 "x2apic",
150 "popcnt",
151 "tsc_deadline_timer",
152 "aes",
153 "xsave",
154 "avx",
155 "lahf_lm",
156 "epb",
157 "tpr_shadow",
158 "vnmi",
159 "flexpriority",
160 "ept",
161 "vpid",
162 "xsaveopt",
163 "dtherm",
164 "ida",
165 "arat",
166 "pln",
167 "pts",
168 ],
169 L2_cache => { max_cache_size => "6144 KB" },
170 manufacturer => "GenuineIntel",
171 model => 42,
172 name => "Intel(R) Core(TM) i5-2400 CPU \@ 3.10GHz",
173 number_of_cores => 4,
174 number_of_logical_processors => 4,
175 processor_id => 0,
176 speed => 1706.097,
177 stepping => 7,
178 },
179 {
180 address_width => 64,
181 architecture => "AMD-64",
182 bus_speed => undef,
183 data_width => 64,
184 family => 6,
185 flags => [
186 "fpu",
187 "vme",
188 "de",
189 "pse",
190 "tsc",
191 "msr",
192 "pae",
193 "mce",
194 "cx8",
195 "apic",
196 "sep",
197 "mtrr",
198 "pge",
199 "mca",
200 "cmov",
201 "pat",
202 "pse36",
203 "clflush",
204 "dts",
205 "acpi",
206 "mmx",
207 "fxsr",
208 "sse",
209 "sse2",
210 "ss",
211 "ht",
212 "tm",
213 "pbe",
214 "syscall",
215 "nx",
216 "rdtscp",
217 "lm",
218 "constant_tsc",
219 "arch_perfmon",
220 "pebs",
221 "bts",
222 "rep_good",
223 "nopl",
224 "xtopology",
225 "nonstop_tsc",
226 "aperfmperf",
227 "eagerfpu",
228 "pni",
229 "pclmulqdq",
230 "dtes64",
231 "monitor",
232 "ds_cpl",
233 "vmx",
234 "smx",
235 "est",
236 "tm2",
237 "ssse3",
238 "cx16",
239 "xtpr",
240 "pdcm",
241 "pcid",
242 "sse4_1",
243 "sse4_2",
244 "x2apic",
245 "popcnt",
246 "tsc_deadline_timer",
247 "aes",
248 "xsave",
249 "avx",
250 "lahf_lm",
251 "epb",
252 "tpr_shadow",
253 "vnmi",
254 "flexpriority",
255 "ept",
256 "vpid",
257 "xsaveopt",
258 "dtherm",
259 "ida",
260 "arat",
261 "pln",
262 "pts",
263 ],
264 L2_cache => { max_cache_size => "6144 KB" },
265 manufacturer => "GenuineIntel",
266 model => 42,
267 name => "Intel(R) Core(TM) i5-2400 CPU \@ 3.10GHz",
268 number_of_cores => 4,
269 number_of_logical_processors => 4,
270 processor_id => 1,
271 speed => 2328.027,
272 stepping => 7,
273 },
274 {
275 address_width => 64,
276 architecture => "AMD-64",
277 bus_speed => undef,
278 data_width => 64,
279 family => 6,
280 flags => [
281 "fpu",
282 "vme",
283 "de",
284 "pse",
285 "tsc",
286 "msr",
287 "pae",
288 "mce",
289 "cx8",
290 "apic",
291 "sep",
292 "mtrr",
293 "pge",
294 "mca",
295 "cmov",
296 "pat",
297 "pse36",
298 "clflush",
299 "dts",
300 "acpi",
301 "mmx",
302 "fxsr",
303 "sse",
304 "sse2",
305 "ss",
306 "ht",
307 "tm",
308 "pbe",
309 "syscall",
310 "nx",
311 "rdtscp",
312 "lm",
313 "constant_tsc",
314 "arch_perfmon",
315 "pebs",
316 "bts",
317 "rep_good",
318 "nopl",
319 "xtopology",
320 "nonstop_tsc",
321 "aperfmperf",
322 "eagerfpu",
323 "pni",
324 "pclmulqdq",
325 "dtes64",
326 "monitor",
327 "ds_cpl",
328 "vmx",
329 "smx",
330 "est",
331 "tm2",
332 "ssse3",
333 "cx16",
334 "xtpr",
335 "pdcm",
336 "pcid",
337 "sse4_1",
338 "sse4_2",
339 "x2apic",
340 "popcnt",
341 "tsc_deadline_timer",
342 "aes",
343 "xsave",
344 "avx",
345 "lahf_lm",
346 "epb",
347 "tpr_shadow",
348 "vnmi",
349 "flexpriority",
350 "ept",
351 "vpid",
352 "xsaveopt",
353 "dtherm",
354 "ida",
355 "arat",
356 "pln",
357 "pts",
358 ],
359 L2_cache => { max_cache_size => "6144 KB" },
360 manufacturer => "GenuineIntel",
361 model => 42,
362 name => "Intel(R) Core(TM) i5-2400 CPU \@ 3.10GHz",
363 number_of_cores => 4,
364 number_of_logical_processors => 4,
365 processor_id => 2,
366 speed => 2011.291,
367 stepping => 7,
368 },
369 {
370 address_width => 64,
371 architecture => "AMD-64",
372 bus_speed => undef,
373 data_width => 64,
374 family => 6,
375 flags => [
376 "fpu",
377 "vme",
378 "de",
379 "pse",
380 "tsc",
381 "msr",
382 "pae",
383 "mce",
384 "cx8",
385 "apic",
386 "sep",
387 "mtrr",
388 "pge",
389 "mca",
390 "cmov",
391 "pat",
392 "pse36",
393 "clflush",
394 "dts",
395 "acpi",
396 "mmx",
397 "fxsr",
398 "sse",
399 "sse2",
400 "ss",
401 "ht",
402 "tm",
403 "pbe",
404 "syscall",
405 "nx",
406 "rdtscp",
407 "lm",
408 "constant_tsc",
409 "arch_perfmon",
410 "pebs",
411 "bts",
412 "rep_good",
413 "nopl",
414 "xtopology",
415 "nonstop_tsc",
416 "aperfmperf",
417 "eagerfpu",
418 "pni",
419 "pclmulqdq",
420 "dtes64",
421 "monitor",
422 "ds_cpl",
423 "vmx",
424 "smx",
425 "est",
426 "tm2",
427 "ssse3",
428 "cx16",
429 "xtpr",
430 "pdcm",
431 "pcid",
432 "sse4_1",
433 "sse4_2",
434 "x2apic",
435 "popcnt",
436 "tsc_deadline_timer",
437 "aes",
438 "xsave",
439 "avx",
440 "lahf_lm",
441 "epb",
442 "tpr_shadow",
443 "vnmi",
444 "flexpriority",
445 "ept",
446 "vpid",
447 "xsaveopt",
448 "dtherm",
449 "ida",
450 "arat",
451 "pln",
452 "pts",
453 ],
454 L2_cache => { max_cache_size => "6144 KB" },
455 manufacturer => "GenuineIntel",
456 model => 42,
457 name => "Intel(R) Core(TM) i5-2400 CPU \@ 3.10GHz",
458 number_of_cores => 4,
459 number_of_logical_processors => 4,
460 processor_id => 3,
461 speed => 2282.806,
462 stepping => 7,
463 },
464 ],
465 "func.elapsed_time" => 0.297473907470703,
466 "func.module_startup" => undef,
467 "func.module_versions" => {
468 "__PACKAGE__" => 1.041,
469 "Bencher::Scenario::PerinciSubGetArgsArgv::get_args_from_argv" => undef,
470 "Benchmark::Dumb" => 0.111,
471 "Devel::Platform::Info" => 0.16,
472 "Perinci::Sub::GetArgs::Argv" => "0.840",
473 "perl" => "v5.26.0",
474 "Sys::Info" => 0.78,
475 },
476 "func.note" => "Run by Pod::Weaver::Plugin::Bencher::Scenario",
477 "func.permute" => ["perl", ["perl"], "participant", [0], "dataset", [0 .. 7]],
478 "func.platform_info" => {
479 archname => "x86_64",
480 codename => "sonya",
481 is32bit => 0,
482 is64bit => 1,
483 kernel => "linux-4.8.0-53-generic",
484 kname => "Linux",
485 kvers => "4.8.0-53-generic",
486 osflag => "linux",
487 oslabel => "LinuxMint",
488 osname => "GNU/Linux",
489 osvers => 18.2,
490 source => {
491 "cat /etc/.issue" => "",
492 "cat /etc/issue" => "Linux Mint 18.2 Sonya \\n \\l",
493 "lsb_release -a" => "Distributor ID:\tLinuxMint\nDescription:\tLinux Mint 18.2 Sonya\nRelease:\t18.2\nCodename:\tsonya",
494 "uname -a" => "Linux builder 4.8.0-53-generic #56~16.04.1-Ubuntu SMP Tue May 16 01:18:56 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux",
495 "uname -m" => "x86_64",
496 "uname -o" => "GNU/Linux",
497 "uname -r" => "4.8.0-53-generic",
498 "uname -s" => "Linux",
499 },
500 },
501 "func.precision" => 0,
502 "func.scenario_module" => "Bencher::Scenario::PerinciSubGetArgsArgv::get_args_from_argv",
503 "func.scenario_module_md5sum" => "048e81e43e0dbe744a09b749e9c803c2",
504 "func.scenario_module_mtime" => 1542879500,
505 "func.scenario_module_sha1sum" => "a46d4fda30ba25c963a10216c8144fcc87fd2ca3",
506 "func.scenario_module_sha256sum" => "7194768d881d9d62d22fceb57ea9ea795b64d82f07d05593dc18d6e2e8e14e91",
507 "func.time_end" => 1542879554.52802,
508 "func.time_factor" => 1000000,
509 "func.time_start" => 1542879554.23055,
510 "table.field_aligns" => ["left", "number", "number", "number", "number", "number"],
511 "table.field_units" => [undef, "/s", "\x{3BC}s"],
512 "table.fields" => ["dataset", "rate", "time", "vs_slowest", "errors", "samples"],
513 },
514 ],
515 ];
516  
517 1 1;
518 # ABSTRACT: Benchmark get_args_from_argv()
519  
520 =head1 DESCRIPTION
521  
522 This module is automatically generated by Pod::Weaver::Plugin::Bencher::Scenario during distribution build.
523  
524 A Bencher::ScenarioR::* module contains the raw result of sample benchmark and might be useful for some stuffs later.
525  
« Scenario/PerinciSubGetArgsArgv/get_args_from_argv.pm ↑ Summary Scenarios/PerinciSubGetArgsArgv.pm »