Bencher-Scenarios-SortSub

 view release on metacpan or  search on metacpan

lib/Bencher/ScenarioR/SortSub/naturally.pm  view on Meta::CPAN

package Bencher::ScenarioR::SortSub::naturally;

our $VERSION = 0.005; # VERSION

our $results = [
  [
    200,
    "OK",
    [
      {
        errors => 9.1e-07,
        participant => "Sort::Naturally::nsort",
        rate => 578,
        samples => 20,
        time => 1.73,
        vs_slowest => 1,
      },
      {
        errors => 5.9e-06,
        participant => "Sort::Key::Natural::natsort",
        rate => 2000,
        samples => 20,
        time => 0.5,
        vs_slowest => 3,
      },
      {
        errors => 4.7e-08,
        participant => "Sort::Naturally::XS::nsort",
        rate => 7950,
        samples => 26,
        time => 0.126,
        vs_slowest => 13.8,
      },
      {
        errors => 8.4e-08,
        participant => "Sort::Sub::naturally",
        rate => 200000,
        samples => 31,
        time => 0.005,
        vs_slowest => 400,
      },
      {
        errors => 4.6e-11,
        participant => "Sort::Naturally::XS::ncmp",
        rate => 233800,
        samples => 20,
        time => 0.004277,
        vs_slowest => 404.5,
      },
      {
        errors => 1.7e-09,
        participant => "Sort::Naturally::ncmp",
        rate => 235000,
        samples => 20,
        time => 0.00426,
        vs_slowest => 406,
      },
    ],
    {
      "func.bencher_args"              => {
                                            action => "bench",
                                            note => "Run by Pod::Weaver::Plugin::Bencher::Scenario",
                                            scenario_module => "SortSub::naturally",
                                          },
      "func.bencher_version"           => undef,
      "func.cpu_info"                  => [
                                            {
                                              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",
                                                                                "arch_perfmon",
                                                                                "pebs",
                                                                                "bts",
                                                                                "rep_good",
                                                                                "nopl",

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",
                                                                                "lahf_lm",
                                                                                "abm",
                                                                                "3dnowprefetch",
                                                                                "ida",
                                                                                "arat",
                                                                                "epb",
                                                                                "pln",
                                                                                "pts",
                                                                                "dtherm",
                                                                                "tpr_shadow",
                                                                                "vnmi",
                                                                                "flexpriority",
                                                                                "ept",
                                                                                "vpid",
                                                                                "fsgsbase",
                                                                                "tsc_adjust",
                                                                                "bmi1",
                                                                                "hle",
                                                                                "avx2",
                                                                                "smep",
                                                                                "bmi2",
                                                                                "erms",
                                                                                "invpcid",
                                                                                "rtm",
                                                                                "rdseed",
                                                                                "adx",
                                                                                "smap",
                                                                                "xsaveopt",
                                                                              ],
                                              L2_cache                     => { max_cache_size => "4096 KB" },
                                              manufacturer                 => "GenuineIntel",
                                              model                        => 61,
                                              name                         => "Intel(R) Core(TM) M-5Y71 CPU \@ 1.20GHz",
                                              number_of_cores              => 2,
                                              number_of_logical_processors => 4,
                                              processor_id                 => 3,
                                              speed                        => 2867.375,
                                              stepping                     => 4,
                                            },
                                          ],
      "func.elapsed_time"              => 0.346285104751587,
      "func.module_startup"            => undef,
      "func.module_versions"           => {
                                            "__PACKAGE__"                           => 1.034,
                                            "Bencher::Scenario::SortSub::naturally" => undef,
                                            "Benchmark::Dumb"                       => "0.10",
                                            "Devel::Platform::Info"                 => 0.16,
                                            "perl"                                  => "v5.24.0",
                                            "Sort::Key::Natural"                    => 0.04,
                                            "Sort::Naturally"                       => 1.03,
                                            "Sort::Naturally::XS"                   => "0.7.3",
                                            "Sort::Sub"                             => "0.10",
                                            "Sys::Info"                             => 0.78,
                                          },
      "func.note"                      => "Run by Pod::Weaver::Plugin::Bencher::Scenario",
      "func.permute"                   => ["participant", [0 .. 5], "perl", ["perl"]],
      "func.platform_info"             => {
                                            archname => "x86_64",
                                            codename => "rosa",
                                            is32bit  => 0,
                                            is64bit  => 1,
                                            kernel   => "linux-3.19.0-32-generic",
                                            kname    => "Linux",
                                            kvers    => "3.19.0-32-generic",
                                            osflag   => "linux",
                                            oslabel  => "LinuxMint",
                                            osname   => "GNU/Linux",
                                            osvers   => 17.3,
                                            source   => {
                                                          "cat /etc/.issue" => "",
                                                          "cat /etc/issue"  => "Linux Mint 17.3 Rosa \\n \\l",
                                                          "lsb_release -a"  => "Distributor ID:\tLinuxMint\nDescription:\tLinux Mint 17.3 Rosa\nRelease:\t17.3\nCodename:\trosa",
                                                          "uname -a"        => "Linux backpacker 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux",
                                                          "uname -m"        => "x86_64",
                                                          "uname -o"        => "GNU/Linux",
                                                          "uname -r"        => "3.19.0-32-generic",
                                                          "uname -s"        => "Linux",
                                                        },
                                          },
      "func.precision"                 => 0,
      "func.scenario_module"           => "Bencher::Scenario::SortSub::naturally",
      "func.scenario_module_md5sum"    => "aa87f93d960b7e72c08d420d8e111db8",
      "func.scenario_module_mtime"     => 1486010934,
      "func.scenario_module_sha1sum"   => "c536459b12812c2fdec9bdde0b4669fd77e6141f",
      "func.scenario_module_sha256sum" => "e1b00f5ae199376ff30b311460806574050fdff304f8965a9f8fe108e76d3775",
      "func.time_end"                  => 1486010957.25481,
      "func.time_factor"               => 1000,
      "func.time_start"                => 1486010956.90853,
      "table.field_aligns"             => ["left", "number", "number", "number", "number", "number"],
      "table.field_units"              => [undef, "/s", "ms"],
      "table.fields"                   => ["participant", "rate", "time", "vs_slowest", "errors", "samples"],
    },
  ],
  [
    200,
    "OK",
    [
      {
        errors => 1.1e-07,
        participant => "Sort::Naturally::nsort",
        rate => 15000,
        samples => 20,
        time => 65,
        vs_slowest => 1,
      },
      {
        errors => 8e-08,
        participant => "Sort::Key::Natural::natsort",
        rate => 18000,
        samples => 20,
        time => 55,
        vs_slowest => 1.2,
      },
      {
        errors => 1.2e-11,
        participant => "Sort::Naturally::XS::nsort",
        rate => 189260,
        samples => 24,
        time => 5.2838,
        vs_slowest => 12.278,
      },
      {
        errors => 2e-10,
        participant => "Sort::Naturally::ncmp",
        rate => 1580000,
        samples => 21,
        time => 0.633,
        vs_slowest => 103,
      },
      {
        errors => 0,
        participant => "Sort::Sub::naturally",
        rate => 1768950,
        samples => 20,
        time => 0.565308,
        vs_slowest => 114.758,
      },
      {
        errors => 4.1e-11,
        participant => "Sort::Naturally::XS::ncmp",
        rate => 1794000,
        samples => 20,
        time => 0.5576,
        vs_slowest => 116.4,
      },
    ],
    {
      "func.bencher_args"              => {
                                            action => "bench",
                                            note => "Run by Pod::Weaver::Plugin::Bencher::Scenario",
                                            scenario_module => "SortSub::naturally",
                                          },
      "func.bencher_version"           => undef,
      "func.cpu_info"                  => [
                                            {
                                              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",
                                                                                "arch_perfmon",
                                                                                "pebs",
                                                                                "bts",
                                                                                "rep_good",
                                                                                "nopl",

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",
                                                                                "lahf_lm",
                                                                                "abm",
                                                                                "3dnowprefetch",
                                                                                "ida",
                                                                                "arat",
                                                                                "epb",
                                                                                "pln",
                                                                                "pts",
                                                                                "dtherm",
                                                                                "tpr_shadow",
                                                                                "vnmi",
                                                                                "flexpriority",
                                                                                "ept",
                                                                                "vpid",
                                                                                "fsgsbase",
                                                                                "tsc_adjust",
                                                                                "bmi1",
                                                                                "hle",
                                                                                "avx2",
                                                                                "smep",
                                                                                "bmi2",
                                                                                "erms",
                                                                                "invpcid",
                                                                                "rtm",
                                                                                "rdseed",
                                                                                "adx",
                                                                                "smap",
                                                                                "xsaveopt",
                                                                              ],
                                              L2_cache                     => { max_cache_size => "4096 KB" },
                                              manufacturer                 => "GenuineIntel",
                                              model                        => 61,
                                              name                         => "Intel(R) Core(TM) M-5Y71 CPU \@ 1.20GHz",
                                              number_of_cores              => 2,
                                              number_of_logical_processors => 4,
                                              processor_id                 => 3,
                                              speed                        => 2867.375,
                                              stepping                     => 4,
                                            },
                                          ],
      "func.elapsed_time"              => 0.346285104751587,
      "func.module_startup"            => undef,
      "func.module_versions"           => {
                                            "__PACKAGE__"                           => 1.034,
                                            "Bencher::Scenario::SortSub::naturally" => undef,
                                            "Benchmark::Dumb"                       => "0.10",
                                            "Devel::Platform::Info"                 => 0.16,
                                            "perl"                                  => "v5.24.0",
                                            "Sort::Key::Natural"                    => 0.04,
                                            "Sort::Naturally"                       => 1.03,
                                            "Sort::Naturally::XS"                   => "0.7.3",
                                            "Sort::Sub"                             => "0.10",
                                            "Sys::Info"                             => 0.78,
                                          },
      "func.note"                      => "Run by Pod::Weaver::Plugin::Bencher::Scenario",
      "func.permute"                   => ["participant", [0 .. 5], "perl", ["perl"]],
      "func.platform_info"             => {
                                            archname => "x86_64",
                                            codename => "rosa",
                                            is32bit  => 0,
                                            is64bit  => 1,
                                            kernel   => "linux-3.19.0-32-generic",
                                            kname    => "Linux",
                                            kvers    => "3.19.0-32-generic",
                                            osflag   => "linux",
                                            oslabel  => "LinuxMint",
                                            osname   => "GNU/Linux",
                                            osvers   => 17.3,
                                            source   => {
                                                          "cat /etc/.issue" => "",
                                                          "cat /etc/issue"  => "Linux Mint 17.3 Rosa \\n \\l",
                                                          "lsb_release -a"  => "Distributor ID:\tLinuxMint\nDescription:\tLinux Mint 17.3 Rosa\nRelease:\t17.3\nCodename:\trosa",
                                                          "uname -a"        => "Linux backpacker 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux",
                                                          "uname -m"        => "x86_64",
                                                          "uname -o"        => "GNU/Linux",
                                                          "uname -r"        => "3.19.0-32-generic",
                                                          "uname -s"        => "Linux",
                                                        },
                                          },
      "func.precision"                 => 0,
      "func.scenario_module"           => "Bencher::Scenario::SortSub::naturally",
      "func.scenario_module_md5sum"    => "aa87f93d960b7e72c08d420d8e111db8",
      "func.scenario_module_mtime"     => 1486010934,
      "func.scenario_module_sha1sum"   => "c536459b12812c2fdec9bdde0b4669fd77e6141f",
      "func.scenario_module_sha256sum" => "e1b00f5ae199376ff30b311460806574050fdff304f8965a9f8fe108e76d3775",
      "func.time_end"                  => 1486010957.25481,
      "func.time_factor"               => 1000000,
      "func.time_start"                => 1486010956.90853,
      "table.field_aligns"             => ["left", "number", "number", "number", "number", "number"],
      "table.field_units"              => [undef, "/s", "\x{3BC}s"],
      "table.fields"                   => ["participant", "rate", "time", "vs_slowest", "errors", "samples"],
    },
  ],
];

1;
# ABSTRACT: Benchmark natural sorting

=head1 DESCRIPTION

This module is automatically generated by Pod::Weaver::Plugin::Bencher::Scenario during distribution build.

A Bencher::ScenarioR::* module contains the raw result of sample benchmark and might be useful for some stuffs later.



( run in 1.539 second using v1.01-cache-2.11-cpan-524268b4103 )