ScenarioR/ScalarCmp.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/ScalarCmp.pm ↑ Summary
1 package Bencher::ScenarioR::ScalarCmp;
2  
3 1 our $VERSION = 0.001; # VERSION
4  
5 1 our $results = [
6 [
7 200,
8 "OK",
9 [
10 {
11 errors => 1.2e-11,
12 participant => "Data::Cmp::StrOrNumeric::cmp_data",
13 rate => 831170,
14 samples => 20,
15 time => 1203.1,
16 vs_slowest => 1,
17 },
18 {
19 errors => 1.7e-09,
20 participant => "Data::Cmp::cmp_data",
21 rate => 1100000,
22 samples => 20,
23 time => 900,
24 vs_slowest => 1.3,
25 },
26 {
27 errors => 4.2e-11,
28 participant => "Scalar::Cmp::cmpstrornum_scalar",
29 rate => 1127000,
30 samples => 20,
31 time => 887.2,
32 vs_slowest => 1.356,
33 },
34 {
35 errors => 1.3e-09,
36 participant => "Data::Cmp::Numeric::cmp_data",
37 rate => 1200000,
38 samples => 20,
39 time => 870,
40 vs_slowest => 1.4,
41 },
42 {
43 errors => 4.1e-09,
44 participant => "Scalar::Cmp::cmp_scalar",
45 rate => 1500000,
46 samples => 21,
47 time => 680,
48 vs_slowest => 1.8,
49 },
50 {
51 errors => 1.8e-09,
52 participant => "Scalar::Cmp::cmpnum_scalar",
53 rate => 1600000,
54 samples => 21,
55 time => 630,
56 vs_slowest => 1.9,
57 },
58 {
59 errors => 5.7e-10,
60 participant => "<=>",
61 rate => 300000000,
62 samples => 22,
63 time => 3,
64 vs_slowest => 400,
65 },
66 {
67 errors => 2e-10,
68 participant => "cmp",
69 rate => -400000000,
70 samples => 20,
71 time => -2,
72 vs_slowest => -500,
73 },
74 ],
75 {
76 "func.bencher_args" => {
77 action => "bench",
78 note => "Run by Pod::Weaver::Plugin::Bencher::Scenario",
79 scenario_module => "ScalarCmp",
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 => 3299.047,
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 => 3297.723,
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 => 3298.669,
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 => 3287.506,
462 stepping => 7,
463 },
464 ],
465 "func.elapsed_time" => 0.228878974914551,
466 "func.module_startup" => undef,
467 "func.module_versions" => {
468 "__PACKAGE__" => 1.041,
469 "Bencher::Scenario::ScalarCmp" => undef,
470 "Benchmark::Dumb" => 0.111,
471 "Data::Cmp" => 0.006,
472 "Data::Cmp::Numeric" => 0.006,
473 "Data::Cmp::StrOrNumeric" => 0.006,
474 "Devel::Platform::Info" => 0.16,
475 "perl" => "v5.26.0",
476 "Scalar::Cmp" => 0.001,
477 "Sys::Info" => 0.78,
478 },
479 "func.note" => "Run by Pod::Weaver::Plugin::Bencher::Scenario",
480 "func.permute" => ["perl", ["perl"], "participant", [0 .. 7], "dataset", [0]],
481 "func.platform_info" => {
482 archname => "x86_64",
483 codename => "sonya",
484 is32bit => 0,
485 is64bit => 1,
486 kernel => "linux-4.8.0-53-generic",
487 kname => "Linux",
488 kvers => "4.8.0-53-generic",
489 osflag => "linux",
490 oslabel => "LinuxMint",
491 osname => "GNU/Linux",
492 osvers => 18.2,
493 source => {
494 "cat /etc/.issue" => "",
495 "cat /etc/issue" => "Linux Mint 18.2 Sonya \\n \\l",
496 "lsb_release -a" => "Distributor ID:\tLinuxMint\nDescription:\tLinux Mint 18.2 Sonya\nRelease:\t18.2\nCodename:\tsonya",
497 "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",
498 "uname -m" => "x86_64",
499 "uname -o" => "GNU/Linux",
500 "uname -r" => "4.8.0-53-generic",
501 "uname -s" => "Linux",
502 },
503 },
504 "func.precision" => 0,
505 "func.scenario_module" => "Bencher::Scenario::ScalarCmp",
506 "func.scenario_module_md5sum" => "47b60d3717bec2092a80a547f3ffa216",
507 "func.scenario_module_mtime" => 1544084883,
508 "func.scenario_module_sha1sum" => "0755ccb32bd1387ad0fc7f1f7f39b388273dbca8",
509 "func.scenario_module_sha256sum" => "6718eaa8e443a24381f147f2e0427bd0cebba3e61b1a027a9ca9728e84ebaccd",
510 "func.time_end" => 1544085069.43345,
511 "func.time_factor" => 1000000000,
512 "func.time_start" => 1544085069.20458,
513 "table.field_aligns" => ["left", "number", "number", "number", "number", "number"],
514 "table.field_units" => [undef, "/s", "ns"],
515 "table.fields" => ["participant", "rate", "time", "vs_slowest", "errors", "samples"],
516 },
517 ],
518 ];
519  
520 1 1;
521 # ABSTRACT: Benchmark Scalar::Cmp against similar solutions
522  
523 =head1 DESCRIPTION
524  
525 This module is automatically generated by Pod::Weaver::Plugin::Bencher::Scenario during distribution build.
526  
527 A Bencher::ScenarioR::* module contains the raw result of sample benchmark and might be useful for some stuffs later.
528  
« Scenario/ScalarCmp.pm ↑ Summary