Bencher-Scenarios-Array-Set

 view release on metacpan or  search on metacpan

lib/Bencher/Scenario/Array/Set/intersect.pm  view on Meta::CPAN

   Set::Object::intersection: modver=0.02 participant=Set::Object::intersection
   Set::Scalar::intersection: modver=0.063 participant=Set::Scalar::intersection

 #table5#
 {dataset=>"100_1"}
 +---------------------------+--------+-----------+-----------+-----------------------+-----------------------+---------+---------+
 | participant               | modver | rate (/s) | time (μs) | pct_faster_vs_slowest | pct_slower_vs_fastest |  errors | samples |
 +---------------------------+--------+-----------+-----------+-----------------------+-----------------------+---------+---------+
 | Set::Scalar::intersection | 0.063  |       880 |    1100   |                 0.00% |              4595.62% | 3.1e-06 |      20 |
 | Set::Scalar::intersection | 0.05   |      1600 |     640   |                77.93% |              2539.08% | 1.8e-06 |      20 |
 | Set::Scalar::intersection | 0.02   |      1600 |     630   |                79.79% |              2511.75% | 1.6e-06 |      20 |
 | Array::Set::set_intersect | 0.02   |      2500 |     390   |               187.25% |              1534.71% | 1.5e-06 |      20 |
 | Set::Object::intersection | 0.02   |      8200 |     120   |               827.99% |               406.00% | 1.9e-07 |      24 |
 | Set::Object::intersection | 0.063  |      8300 |     120   |               840.07% |               399.50% | 2.6e-07 |      21 |
 | Set::Object::intersection | 0.05   |      8400 |     120   |               850.03% |               394.26% | 2.7e-07 |      20 |
 | Array::Set::set_intersect | 0.05   |     40600 |      24.6 |              4491.10% |                 2.28% | 6.7e-09 |      20 |
 | Array::Set::set_intersect | 0.063  |     41500 |      24.1 |              4595.62% |                 0.00% | 6.7e-09 |      20 |
 +---------------------------+--------+-----------+-----------+-----------------------+-----------------------+---------+---------+

Formatted as L<Benchmark.pm|Benchmark> result:

                                Rate  Set::Scalar::intersection  Set::Scalar::intersection  Set::Scalar::intersection  Array::Set::set_intersect  Set::Object::intersection  Set::Object::intersection  Set::Object::intersection  Array::Set::set_interse...
  Set::Scalar::intersection    880/s                         --                       -41%                       -42%                       -64%                       -89%                       -89%                       -89%                       -9...
  Set::Scalar::intersection   1600/s                        71%                         --                        -1%                       -39%                       -81%                       -81%                       -81%                       -9...
  Set::Scalar::intersection   1600/s                        74%                         1%                         --                       -38%                       -80%                       -80%                       -80%                       -9...
  Array::Set::set_intersect   2500/s                       182%                        64%                        61%                         --                       -69%                       -69%                       -69%                       -9...
  Set::Object::intersection   8200/s                       816%                       433%                       425%                       225%                         --                         0%                         0%                       -7...
  Set::Object::intersection   8300/s                       816%                       433%                       425%                       225%                         0%                         --                         0%                       -7...
  Set::Object::intersection   8400/s                       816%                       433%                       425%                       225%                         0%                         0%                         --                       -7...
  Array::Set::set_intersect  40600/s                      4371%                      2501%                      2460%                      1485%                       387%                       387%                       387%                         ...
  Array::Set::set_intersect  41500/s                      4464%                      2555%                      2514%                      1518%                       397%                       397%                       397%                         ...
 
 Legends:
   Array::Set::set_intersect: modver=0.063 participant=Array::Set::set_intersect
   Set::Object::intersection: modver=0.05 participant=Set::Object::intersection
   Set::Scalar::intersection: modver=0.02 participant=Set::Scalar::intersection

 #table6#
 {dataset=>"100_10"}
 +---------------------------+--------+-----------+-----------+-----------------------+-----------------------+---------+---------+
 | participant               | modver | rate (/s) | time (μs) | pct_faster_vs_slowest | pct_slower_vs_fastest |  errors | samples |
 +---------------------------+--------+-----------+-----------+-----------------------+-----------------------+---------+---------+
 | Set::Scalar::intersection | 0.063  |      1000 |     900   |                 0.00% |              2864.49% | 1.6e-05 |      20 |
 | Set::Scalar::intersection | 0.05   |      1520 |     656   |                36.08% |              2078.51% | 2.7e-07 |      20 |
 | Set::Scalar::intersection | 0.02   |      1530 |     652   |                36.80% |              2066.97% | 6.4e-07 |      20 |
 | Array::Set::set_intersect | 0.02   |      2300 |     440   |               103.17% |              1359.15% | 2.2e-06 |      20 |
 | Set::Object::intersection | 0.05   |      7800 |     130   |               597.00% |               325.32% | 6.4e-07 |      20 |
 | Set::Object::intersection | 0.02   |      7890 |     127   |               603.97% |               321.11% | 5.3e-08 |      20 |
 | Set::Object::intersection | 0.063  |      8100 |     120   |               621.74% |               310.74% | 2.1e-07 |      20 |
 | Array::Set::set_intersect | 0.05   |     32600 |      30.7 |              2808.08% |                 1.94% | 1.2e-08 |      26 |
 | Array::Set::set_intersect | 0.063  |     33200 |      30.1 |              2864.49% |                 0.00% | 1.3e-08 |      20 |
 +---------------------------+--------+-----------+-----------+-----------------------+-----------------------+---------+---------+

Formatted as L<Benchmark.pm|Benchmark> result:

                                Rate  Set::Scalar::intersection  Set::Scalar::intersection  Set::Scalar::intersection  Array::Set::set_intersect  Set::Object::intersection  Set::Object::intersection  Set::Object::intersection  Array::Set::set_interse...
  Set::Scalar::intersection   1000/s                         --                       -27%                       -27%                       -51%                       -85%                       -85%                       -86%                       -9...
  Set::Scalar::intersection   1520/s                        37%                         --                         0%                       -32%                       -80%                       -80%                       -81%                       -9...
  Set::Scalar::intersection   1530/s                        38%                         0%                         --                       -32%                       -80%                       -80%                       -81%                       -9...
  Array::Set::set_intersect   2300/s                       104%                        49%                        48%                         --                       -70%                       -71%                       -72%                       -9...
  Set::Object::intersection   7800/s                       592%                       404%                       401%                       238%                         --                        -2%                        -7%                       -7...
  Set::Object::intersection   7890/s                       608%                       416%                       413%                       246%                         2%                         --                        -5%                       -7...
  Set::Object::intersection   8100/s                       650%                       446%                       443%                       266%                         8%                         5%                         --                       -7...
  Array::Set::set_intersect  32600/s                      2831%                      2036%                      2023%                      1333%                       323%                       313%                       290%                         ...
  Array::Set::set_intersect  33200/s                      2890%                      2079%                      2066%                      1361%                       331%                       321%                       298%                         ...
 
 Legends:
   Array::Set::set_intersect: modver=0.063 participant=Array::Set::set_intersect
   Set::Object::intersection: modver=0.063 participant=Set::Object::intersection
   Set::Scalar::intersection: modver=0.02 participant=Set::Scalar::intersection

 #table7#
 {dataset=>"100_100"}
 +---------------------------+--------+-----------+-----------+-----------------------+-----------------------+---------+---------+
 | participant               | modver | rate (/s) | time (μs) | pct_faster_vs_slowest | pct_slower_vs_fastest |  errors | samples |
 +---------------------------+--------+-----------+-----------+-----------------------+-----------------------+---------+---------+
 | Set::Scalar::intersection | 0.02   |      1100 |       911 |                 0.00% |              1017.09% | 8.8e-07 |      21 |
 | Set::Scalar::intersection | 0.063  |      1100 |       910 |                 0.01% |              1016.94% |   1e-06 |      22 |
 | Set::Scalar::intersection | 0.05   |      1100 |       906 |                 0.52% |              1011.26% | 4.3e-07 |      20 |
 | Array::Set::set_intersect | 0.02   |      1200 |       860 |                 6.53% |               948.66% | 3.6e-06 |      20 |
 | Set::Object::intersection | 0.05   |      6400 |       160 |               479.59% |                92.74% | 2.7e-07 |      20 |
 | Set::Object::intersection | 0.02   |      6400 |       160 |               481.28% |                92.18% | 2.7e-07 |      20 |
 | Set::Object::intersection | 0.063  |      6700 |       150 |               510.33% |                83.03% | 5.8e-07 |      24 |
 | Array::Set::set_intersect | 0.05   |     12000 |        82 |              1006.94% |                 0.92% | 1.1e-07 |      20 |
 | Array::Set::set_intersect | 0.063  |     12000 |        82 |              1017.09% |                 0.00% | 1.1e-07 |      20 |
 +---------------------------+--------+-----------+-----------+-----------------------+-----------------------+---------+---------+

Formatted as L<Benchmark.pm|Benchmark> result:

                                Rate  Set::Scalar::intersection  Set::Scalar::intersection  Set::Scalar::intersection  Array::Set::set_intersect  Set::Object::intersection  Set::Object::intersection  Set::Object::intersection  Array::Set::set_interse...
  Set::Scalar::intersection   1100/s                         --                         0%                         0%                        -5%                       -82%                       -82%                       -83%                       -9...
  Set::Scalar::intersection   1100/s                         0%                         --                         0%                        -5%                       -82%                       -82%                       -83%                       -9...
  Set::Scalar::intersection   1100/s                         0%                         0%                         --                        -5%                       -82%                       -82%                       -83%                       -9...
  Array::Set::set_intersect   1200/s                         5%                         5%                         5%                         --                       -81%                       -81%                       -82%                       -9...
  Set::Object::intersection   6400/s                       469%                       468%                       466%                       437%                         --                         0%                        -6%                       -4...
  Set::Object::intersection   6400/s                       469%                       468%                       466%                       437%                         0%                         --                        -6%                       -4...
  Set::Object::intersection   6700/s                       507%                       506%                       504%                       473%                         6%                         6%                         --                       -4...
  Array::Set::set_intersect  12000/s                      1010%                      1009%                      1004%                       948%                        95%                        95%                        82%                         ...
  Array::Set::set_intersect  12000/s                      1010%                      1009%                      1004%                       948%                        95%                        95%                        82%                         ...
 
 Legends:
   Array::Set::set_intersect: modver=0.063 participant=Array::Set::set_intersect
   Set::Object::intersection: modver=0.063 participant=Set::Object::intersection
   Set::Scalar::intersection: modver=0.05 participant=Set::Scalar::intersection

 #table8#
 {dataset=>"10_1"}
 +---------------------------+--------+-----------+-----------+-----------------------+-----------------------+---------+---------+
 | participant               | modver | rate (/s) | time (μs) | pct_faster_vs_slowest | pct_slower_vs_fastest |  errors | samples |
 +---------------------------+--------+-----------+-----------+-----------------------+-----------------------+---------+---------+
 | Set::Scalar::intersection | 0.05   |      7500 |   130     |                 0.00% |              2606.77% | 6.2e-07 |      21 |
 | Set::Scalar::intersection | 0.02   |      7700 |   130     |                 2.45% |              2542.15% |   2e-07 |      22 |
 | Set::Scalar::intersection | 0.063  |      7700 |   130     |                 2.48% |              2541.18% | 2.1e-07 |      20 |
 | Array::Set::set_intersect | 0.02   |     20300 |    49.3   |               170.19% |               901.79% | 3.9e-08 |      21 |
 | Set::Object::intersection | 0.02   |     62900 |    15.9   |               738.74% |               222.72% | 6.7e-09 |      20 |
 | Set::Object::intersection | 0.05   |     63700 |    15.7   |               749.37% |               218.68% | 6.7e-09 |      20 |
 | Set::Object::intersection | 0.063  |     63800 |    15.7   |               749.79% |               218.52% | 6.7e-09 |      20 |
 | Array::Set::set_intersect | 0.05   |    191000 |     5.22  |              2451.53% |                 6.08% | 1.5e-09 |      26 |
 | Array::Set::set_intersect | 0.063  |    203100 |     4.923 |              2606.77% |                 0.00% | 1.7e-10 |      20 |
 +---------------------------+--------+-----------+-----------+-----------------------+-----------------------+---------+---------+



( run in 1.112 second using v1.01-cache-2.11-cpan-39bf76dae61 )