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