Skip to content

Instantly share code, notes, and snippets.

@jplindstrom
Created October 11, 2016 10:00
Show Gist options
  • Save jplindstrom/868e4e2b0bed933d960070c1cee49f65 to your computer and use it in GitHub Desktop.
Save jplindstrom/868e4e2b0bed933d960070c1cee49f65 to your computer and use it in GitHub Desktop.
App::Benchmark::Accessors output with Moo
# Benchmark: timing 1000000 iterations of class_accessor, class_accessor_classy, class_accessor_complex, class_accessor_constructor, class_accessor_fast, class_accessor_fast_xs, class_accessor_lite, class_methodmaker, class_spiffy, class_xsaccessor, class_xsaccessor_array, mojo, moo, moose, moose_immutable, mouse, mouse_immutable, object_tiny, object_tiny_xs, rose, spiffy...
# class_accessor: 0.761038 wallclock secs ( 0.76 usr + 0.00 sys = 0.76 CPU) @ 1315789.47/s (n=1000000)
# class_accessor_classy: 0.459568 wallclock secs ( 0.45 usr + 0.01 sys = 0.46 CPU) @ 2173913.04/s (n=1000000)
# class_accessor_complex: 0.96933 wallclock secs ( 0.97 usr + 0.00 sys = 0.97 CPU) @ 1030927.84/s (n=1000000)
# class_accessor_constructor: 2.08857 wallclock secs ( 2.09 usr + 0.00 sys = 2.09 CPU) @ 478468.90/s (n=1000000)
# class_accessor_fast: 0.663317 wallclock secs ( 0.66 usr + 0.00 sys = 0.66 CPU) @ 1515151.52/s (n=1000000)
# class_accessor_fast_xs: 0.320578 wallclock secs ( 0.32 usr + 0.00 sys = 0.32 CPU) @ 3125000.00/s (n=1000000)
# (warning: too few iterations for a reliable count)
# class_accessor_lite: 0.510876 wallclock secs ( 0.51 usr + 0.00 sys = 0.51 CPU) @ 1960784.31/s (n=1000000)
# class_methodmaker: 1.17209 wallclock secs ( 1.17 usr + 0.00 sys = 1.17 CPU) @ 854700.85/s (n=1000000)
# class_spiffy: 0.549232 wallclock secs ( 0.54 usr + 0.00 sys = 0.54 CPU) @ 1851851.85/s (n=1000000)
# class_xsaccessor: 0.378863 wallclock secs ( 0.38 usr + 0.00 sys = 0.38 CPU) @ 2631578.95/s (n=1000000)
# (warning: too few iterations for a reliable count)
# class_xsaccessor_array: 0.59842 wallclock secs ( 0.60 usr + 0.00 sys = 0.60 CPU) @ 1666666.67/s (n=1000000)
# mojo: 0.407957 wallclock secs ( 0.41 usr + 0.01 sys = 0.42 CPU) @ 2380952.38/s (n=1000000)
# moo: 0.752324 wallclock secs ( 0.75 usr + 0.00 sys = 0.75 CPU) @ 1333333.33/s (n=1000000)
# moose: 29.6238 wallclock secs (29.56 usr + 0.02 sys = 29.58 CPU) @ 33806.63/s (n=1000000)
# moose_immutable: 1.48947 wallclock secs ( 1.49 usr + 0.00 sys = 1.49 CPU) @ 671140.94/s (n=1000000)
# mouse: 0.621818 wallclock secs ( 0.62 usr + 0.00 sys = 0.62 CPU) @ 1612903.23/s (n=1000000)
# mouse_immutable: 0.662569 wallclock secs ( 0.66 usr + 0.00 sys = 0.66 CPU) @ 1515151.52/s (n=1000000)
# object_tiny: 0.433261 wallclock secs ( 0.43 usr + 0.00 sys = 0.43 CPU) @ 2325581.40/s (n=1000000)
# object_tiny_xs: 0.377359 wallclock secs ( 0.37 usr + 0.00 sys = 0.37 CPU) @ 2702702.70/s (n=1000000)
# (warning: too few iterations for a reliable count)
# rose: 0.716988 wallclock secs ( 0.72 usr + 0.00 sys = 0.72 CPU) @ 1388888.89/s (n=1000000)
# spiffy: 0.620046 wallclock secs ( 0.62 usr + 0.00 sys = 0.62 CPU) @ 1612903.23/s (n=1000000)
# Rate moose class_accessor_constructor moose_immutable class_methodmaker class_accessor_complex class_accessor moo rose class_accessor_fast mouse_immutable spiffy mouse class_xsaccessor_array class_spiffy class_accessor_lite class_accessor_classy object_tiny mojo class_xsaccessor object_tiny_xs class_accessor_fast_xs
# moose 33807/s -- -93% -95% -96% -97% -97% -97% -98% -98% -98% -98% -98% -98% -98% -98% -98% -99% -99% -99% -99% -99%
# class_accessor_constructor 478469/s 1315% -- -29% -44% -54% -64% -64% -66% -68% -68% -70% -70% -71% -74% -76% -78% -79% -80% -82% -82% -85%
# moose_immutable 671141/s 1885% 40% -- -21% -35% -49% -50% -52% -56% -56% -58% -58% -60% -64% -66% -69% -71% -72% -74% -75% -79%
# class_methodmaker 854701/s 2428% 79% 27% -- -17% -35% -36% -38% -44% -44% -47% -47% -49% -54% -56% -61% -63% -64% -68% -68% -73%
# class_accessor_complex 1030928/s 2949% 115% 54% 21% -- -22% -23% -26% -32% -32% -36% -36% -38% -44% -47% -53% -56% -57% -61% -62% -67%
# class_accessor 1315789/s 3792% 175% 96% 54% 28% -- -1% -5% -13% -13% -18% -18% -21% -29% -33% -39% -43% -45% -50% -51% -58%
# moo 1333333/s 3844% 179% 99% 56% 29% 1% -- -4% -12% -12% -17% -17% -20% -28% -32% -39% -43% -44% -49% -51% -57%
# rose 1388889/s 4008% 190% 107% 62% 35% 6% 4% -- -8% -8% -14% -14% -17% -25% -29% -36% -40% -42% -47% -49% -56%
# class_accessor_fast 1515152/s 4382% 217% 126% 77% 47% 15% 14% 9% -- -0% -6% -6% -9% -18% -23% -30% -35% -36% -42% -44% -52%
# mouse_immutable 1515152/s 4382% 217% 126% 77% 47% 15% 14% 9% 0% -- -6% -6% -9% -18% -23% -30% -35% -36% -42% -44% -52%
# spiffy 1612903/s 4671% 237% 140% 89% 56% 23% 21% 16% 6% 6% -- -0% -3% -13% -18% -26% -31% -32% -39% -40% -48%
# mouse 1612903/s 4671% 237% 140% 89% 56% 23% 21% 16% 6% 6% 0% -- -3% -13% -18% -26% -31% -32% -39% -40% -48%
# class_xsaccessor_array 1666667/s 4830% 248% 148% 95% 62% 27% 25% 20% 10% 10% 3% 3% -- -10% -15% -23% -28% -30% -37% -38% -47%
# class_spiffy 1851852/s 5378% 287% 176% 117% 80% 41% 39% 33% 22% 22% 15% 15% 11% -- -6% -15% -20% -22% -30% -31% -41%
# class_accessor_lite 1960784/s 5700% 310% 192% 129% 90% 49% 47% 41% 29% 29% 22% 22% 18% 6% -- -10% -16% -18% -25% -27% -37%
# class_accessor_classy 2173913/s 6330% 354% 224% 154% 111% 65% 63% 57% 43% 43% 35% 35% 30% 17% 11% -- -7% -9% -17% -20% -30%
# object_tiny 2325581/s 6779% 386% 247% 172% 126% 77% 74% 67% 53% 53% 44% 44% 40% 26% 19% 7% -- -2% -12% -14% -26%
# mojo 2380952/s 6943% 398% 255% 179% 131% 81% 79% 71% 57% 57% 48% 48% 43% 29% 21% 10% 2% -- -10% -12% -24%
# class_xsaccessor 2631579/s 7684% 450% 292% 208% 155% 100% 97% 89% 74% 74% 63% 63% 58% 42% 34% 21% 13% 11% -- -3% -16%
# object_tiny_xs 2702703/s 7895% 465% 303% 216% 162% 105% 103% 95% 78% 78% 68% 68% 62% 46% 38% 24% 16% 14% 3% -- -14%
# class_accessor_fast_xs 3125000/s 9144% 553% 366% 266% 203% 137% 134% 125% 106% 106% 94% 94% 88% 69% 59% 44% 34% 31% 19% 16% --
t/construction.t .. ok
# Benchmark: timing 2000000 iterations of accessors, class_accessor, class_accessor_classy, class_accessor_complex, class_accessor_constructor, class_accessor_fast, class_accessor_fast_xs, class_accessor_lite, class_methodmaker, class_spiffy, class_xsaccessor, class_xsaccessor_array, class_xsaccessor_compat, mojo, moo, moose, moose_immutable, mouse, mouse_immutable, object_tiny, object_tiny_xs, rose, rubyish_attribute, spiffy...
# accessors: 0.44327 wallclock secs ( 0.45 usr + 0.00 sys = 0.45 CPU) @ 4444444.44/s (n=2000000)
# class_accessor: 1.2967 wallclock secs ( 1.29 usr + 0.00 sys = 1.29 CPU) @ 1550387.60/s (n=2000000)
# class_accessor_classy: 0.409848 wallclock secs ( 0.41 usr + 0.00 sys = 0.41 CPU) @ 4878048.78/s (n=2000000)
# class_accessor_complex: 0.548389 wallclock secs ( 0.55 usr + 0.00 sys = 0.55 CPU) @ 3636363.64/s (n=2000000)
# class_accessor_constructor: 0.410954 wallclock secs ( 0.41 usr + 0.00 sys = 0.41 CPU) @ 4878048.78/s (n=2000000)
# class_accessor_fast: 0.257263 wallclock secs ( 0.25 usr + 0.01 sys = 0.26 CPU) @ 7692307.69/s (n=2000000)
# (warning: too few iterations for a reliable count)
# class_accessor_fast_xs: 0.127693 wallclock secs ( 0.13 usr + 0.00 sys = 0.13 CPU) @ 15384615.38/s (n=2000000)
# (warning: too few iterations for a reliable count)
# class_accessor_lite: 0.416346 wallclock secs ( 0.42 usr + -0.01 sys = 0.41 CPU) @ 4878048.78/s (n=2000000)
# class_methodmaker: 0.981046 wallclock secs ( 0.97 usr + 0.00 sys = 0.97 CPU) @ 2061855.67/s (n=2000000)
# class_spiffy: 0.52615 wallclock secs ( 0.53 usr + 0.00 sys = 0.53 CPU) @ 3773584.91/s (n=2000000)
# class_xsaccessor: 0.114687 wallclock secs ( 0.11 usr + 0.00 sys = 0.11 CPU) @ 18181818.18/s (n=2000000)
# (warning: too few iterations for a reliable count)
# class_xsaccessor_array: 0.133909 wallclock secs ( 0.14 usr + 0.00 sys = 0.14 CPU) @ 14285714.29/s (n=2000000)
# (warning: too few iterations for a reliable count)
# class_xsaccessor_compat: 0.219339 wallclock secs ( 0.22 usr + 0.00 sys = 0.22 CPU) @ 9090909.09/s (n=2000000)
# (warning: too few iterations for a reliable count)
# mojo: 0.521981 wallclock secs ( 0.53 usr + 0.00 sys = 0.53 CPU) @ 3773584.91/s (n=2000000)
# moo: 0.197436 wallclock secs ( 0.19 usr + 0.01 sys = 0.20 CPU) @ 10000000.00/s (n=2000000)
# (warning: too few iterations for a reliable count)
# moose: 0.488822 wallclock secs ( 0.49 usr + 0.00 sys = 0.49 CPU) @ 4081632.65/s (n=2000000)
# moose_immutable: 0.465596 wallclock secs ( 0.47 usr + 0.00 sys = 0.47 CPU) @ 4255319.15/s (n=2000000)
# mouse: 0.256188 wallclock secs ( 0.26 usr + 0.00 sys = 0.26 CPU) @ 7692307.69/s (n=2000000)
# (warning: too few iterations for a reliable count)
# mouse_immutable: 0.231559 wallclock secs ( 0.23 usr + 0.00 sys = 0.23 CPU) @ 8695652.17/s (n=2000000)
# (warning: too few iterations for a reliable count)
# object_tiny: 0.660432 wallclock secs ( 0.66 usr + 0.00 sys = 0.66 CPU) @ 3030303.03/s (n=2000000)
# object_tiny_xs: 0.0545819 wallclock secs ( 0.05 usr + 0.00 sys = 0.05 CPU) @ 40000000.00/s (n=2000000)
# (warning: too few iterations for a reliable count)
# rose: 0.302584 wallclock secs ( 0.30 usr + 0.00 sys = 0.30 CPU) @ 6666666.67/s (n=2000000)
# (warning: too few iterations for a reliable count)
# rubyish_attribute: 0.520185 wallclock secs ( 0.53 usr + -0.01 sys = 0.52 CPU) @ 3846153.85/s (n=2000000)
# spiffy: 0.445509 wallclock secs ( 0.45 usr + 0.00 sys = 0.45 CPU) @ 4444444.44/s (n=2000000)
# Rate class_accessor class_methodmaker object_tiny class_accessor_complex mojo class_spiffy rubyish_attribute moose moose_immutable accessors spiffy class_accessor_constructor class_accessor_classy class_accessor_lite rose mouse class_accessor_fast mouse_immutable class_xsaccessor_compat moo class_xsaccessor_array class_accessor_fast_xs class_xsaccessor object_tiny_xs
# class_accessor 1550388/s -- -25% -49% -57% -59% -59% -60% -62% -64% -65% -65% -68% -68% -68% -77% -80% -80% -82% -83% -84% -89% -90% -91% -96%
# class_methodmaker 2061856/s 33% -- -32% -43% -45% -45% -46% -49% -52% -54% -54% -58% -58% -58% -69% -73% -73% -76% -77% -79% -86% -87% -89% -95%
# object_tiny 3030303/s 95% 47% -- -17% -20% -20% -21% -26% -29% -32% -32% -38% -38% -38% -55% -61% -61% -65% -67% -70% -79% -80% -83% -92%
# class_accessor_complex 3636364/s 135% 76% 20% -- -4% -4% -5% -11% -15% -18% -18% -25% -25% -25% -45% -53% -53% -58% -60% -64% -75% -76% -80% -91%
# mojo 3773585/s 143% 83% 25% 4% -- -0% -2% -8% -11% -15% -15% -23% -23% -23% -43% -51% -51% -57% -58% -62% -74% -75% -79% -91%
# class_spiffy 3773585/s 143% 83% 25% 4% 0% -- -2% -8% -11% -15% -15% -23% -23% -23% -43% -51% -51% -57% -58% -62% -74% -75% -79% -91%
# rubyish_attribute 3846154/s 148% 87% 27% 6% 2% 2% -- -6% -10% -13% -13% -21% -21% -21% -42% -50% -50% -56% -58% -62% -73% -75% -79% -90%
# moose 4081633/s 163% 98% 35% 12% 8% 8% 6% -- -4% -8% -8% -16% -16% -16% -39% -47% -47% -53% -55% -59% -71% -73% -78% -90%
# moose_immutable 4255319/s 174% 106% 40% 17% 13% 13% 11% 4% -- -4% -4% -13% -13% -13% -36% -45% -45% -51% -53% -57% -70% -72% -77% -89%
# accessors 4444444/s 187% 116% 47% 22% 18% 18% 16% 9% 4% -- -0% -9% -9% -9% -33% -42% -42% -49% -51% -56% -69% -71% -76% -89%
# spiffy 4444444/s 187% 116% 47% 22% 18% 18% 16% 9% 4% 0% -- -9% -9% -9% -33% -42% -42% -49% -51% -56% -69% -71% -76% -89%
# class_accessor_constructor 4878049/s 215% 137% 61% 34% 29% 29% 27% 20% 15% 10% 10% -- -0% -0% -27% -37% -37% -44% -46% -51% -66% -68% -73% -88%
# class_accessor_classy 4878049/s 215% 137% 61% 34% 29% 29% 27% 20% 15% 10% 10% 0% -- -0% -27% -37% -37% -44% -46% -51% -66% -68% -73% -88%
# class_accessor_lite 4878049/s 215% 137% 61% 34% 29% 29% 27% 20% 15% 10% 10% 0% 0% -- -27% -37% -37% -44% -46% -51% -66% -68% -73% -88%
# rose 6666667/s 330% 223% 120% 83% 77% 77% 73% 63% 57% 50% 50% 37% 37% 37% -- -13% -13% -23% -27% -33% -53% -57% -63% -83%
# mouse 7692308/s 396% 273% 154% 112% 104% 104% 100% 88% 81% 73% 73% 58% 58% 58% 15% -- -0% -12% -15% -23% -46% -50% -58% -81%
# class_accessor_fast 7692308/s 396% 273% 154% 112% 104% 104% 100% 88% 81% 73% 73% 58% 58% 58% 15% 0% -- -12% -15% -23% -46% -50% -58% -81%
# mouse_immutable 8695652/s 461% 322% 187% 139% 130% 130% 126% 113% 104% 96% 96% 78% 78% 78% 30% 13% 13% -- -4% -13% -39% -43% -52% -78%
# class_xsaccessor_compat 9090909/s 486% 341% 200% 150% 141% 141% 136% 123% 114% 105% 105% 86% 86% 86% 36% 18% 18% 5% -- -9% -36% -41% -50% -77%
# moo 10000000/s 545% 385% 230% 175% 165% 165% 160% 145% 135% 125% 125% 105% 105% 105% 50% 30% 30% 15% 10% -- -30% -35% -45% -75%
# class_xsaccessor_array 14285714/s 821% 593% 371% 293% 279% 279% 271% 250% 236% 221% 221% 193% 193% 193% 114% 86% 86% 64% 57% 43% -- -7% -21% -64%
# class_accessor_fast_xs 15384615/s 892% 646% 408% 323% 308% 308% 300% 277% 262% 246% 246% 215% 215% 215% 131% 100% 100% 77% 69% 54% 8% -- -15% -62%
# class_xsaccessor 18181818/s 1073% 782% 500% 400% 382% 382% 373% 345% 327% 309% 309% 273% 273% 273% 173% 136% 136% 109% 100% 82% 27% 18% -- -55%
# object_tiny_xs 40000000/s 2480% 1840% 1220% 1000% 960% 960% 940% 880% 840% 800% 800% 720% 720% 720% 500% 420% 420% 360% 340% 300% 180% 160% 120% --
t/get.t ........... ok
# Benchmark: timing 2000000 iterations of accessors, class_accessor, class_accessor_classy, class_accessor_complex, class_accessor_constructor, class_accessor_fast, class_accessor_fast_xs, class_accessor_lite, class_methodmaker, class_spiffy, class_xsaccessor, class_xsaccessor_array, class_xsaccessor_compat, mojo, moo, moose, moose_immutable, mouse, mouse_immutable, object_tiny_xs, rose, rubyish_attribute, spiffy...
# accessors: 0.647045 wallclock secs ( 0.65 usr + 0.00 sys = 0.65 CPU) @ 3076923.08/s (n=2000000)
# class_accessor: 1.72288 wallclock secs ( 1.72 usr + 0.00 sys = 1.72 CPU) @ 1162790.70/s (n=2000000)
# class_accessor_classy: 0.543752 wallclock secs ( 0.54 usr + 0.00 sys = 0.54 CPU) @ 3703703.70/s (n=2000000)
# class_accessor_complex: 0.711492 wallclock secs ( 0.71 usr + 0.00 sys = 0.71 CPU) @ 2816901.41/s (n=2000000)
# class_accessor_constructor: 0.434438 wallclock secs ( 0.44 usr + -0.01 sys = 0.43 CPU) @ 4651162.79/s (n=2000000)
# class_accessor_fast: 0.669518 wallclock secs ( 0.67 usr + 0.00 sys = 0.67 CPU) @ 2985074.63/s (n=2000000)
# class_accessor_fast_xs: 0.2889 wallclock secs ( 0.29 usr + 0.00 sys = 0.29 CPU) @ 6896551.72/s (n=2000000)
# (warning: too few iterations for a reliable count)
# class_accessor_lite: 0.565685 wallclock secs ( 0.57 usr + -0.01 sys = 0.56 CPU) @ 3571428.57/s (n=2000000)
# class_methodmaker: 0.96567 wallclock secs ( 0.96 usr + 0.00 sys = 0.96 CPU) @ 2083333.33/s (n=2000000)
# class_spiffy: 0.716724 wallclock secs ( 0.72 usr + -0.01 sys = 0.71 CPU) @ 2816901.41/s (n=2000000)
# class_xsaccessor: 0.170165 wallclock secs ( 0.17 usr + 0.00 sys = 0.17 CPU) @ 11764705.88/s (n=2000000)
# (warning: too few iterations for a reliable count)
# class_xsaccessor_array: 0.14596 wallclock secs ( 0.15 usr + 0.00 sys = 0.15 CPU) @ 13333333.33/s (n=2000000)
# (warning: too few iterations for a reliable count)
# class_xsaccessor_compat: 0.344304 wallclock secs ( 0.35 usr + 0.00 sys = 0.35 CPU) @ 5714285.71/s (n=2000000)
# (warning: too few iterations for a reliable count)
# mojo: 0.460972 wallclock secs ( 0.47 usr + 0.00 sys = 0.47 CPU) @ 4255319.15/s (n=2000000)
# moo: 0.286758 wallclock secs ( 0.28 usr + 0.00 sys = 0.28 CPU) @ 7142857.14/s (n=2000000)
# (warning: too few iterations for a reliable count)
# moose: 0.894559 wallclock secs ( 0.89 usr + 0.00 sys = 0.89 CPU) @ 2247191.01/s (n=2000000)
# moose_immutable: 0.53867 wallclock secs ( 0.54 usr + 0.00 sys = 0.54 CPU) @ 3703703.70/s (n=2000000)
# mouse: 0.176482 wallclock secs ( 0.19 usr + 0.00 sys = 0.19 CPU) @ 10526315.79/s (n=2000000)
# (warning: too few iterations for a reliable count)
# mouse_immutable: 0.314135 wallclock secs ( 0.32 usr + 0.00 sys = 0.32 CPU) @ 6250000.00/s (n=2000000)
# (warning: too few iterations for a reliable count)
# object_tiny_xs: 0.205915 wallclock secs ( 0.21 usr + 0.00 sys = 0.21 CPU) @ 9523809.52/s (n=2000000)
# (warning: too few iterations for a reliable count)
# rose: 0.220786 wallclock secs ( 0.23 usr + 0.00 sys = 0.23 CPU) @ 8695652.17/s (n=2000000)
# (warning: too few iterations for a reliable count)
# rubyish_attribute: 0.664504 wallclock secs ( 0.66 usr + 0.00 sys = 0.66 CPU) @ 3030303.03/s (n=2000000)
# spiffy: 0.601355 wallclock secs ( 0.60 usr + 0.00 sys = 0.60 CPU) @ 3333333.33/s (n=2000000)
# Rate class_accessor class_methodmaker moose class_accessor_complex class_spiffy class_accessor_fast rubyish_attribute accessors spiffy class_accessor_lite moose_immutable class_accessor_classy mojo class_accessor_constructor class_xsaccessor_compat mouse_immutable class_accessor_fast_xs moo rose object_tiny_xs mouse class_xsaccessor class_xsaccessor_array
# class_accessor 1162791/s -- -44% -48% -59% -59% -61% -62% -62% -65% -67% -69% -69% -73% -75% -80% -81% -83% -84% -87% -88% -89% -90% -91%
# class_methodmaker 2083333/s 79% -- -7% -26% -26% -30% -31% -32% -38% -42% -44% -44% -51% -55% -64% -67% -70% -71% -76% -78% -80% -82% -84%
# moose 2247191/s 93% 8% -- -20% -20% -25% -26% -27% -33% -37% -39% -39% -47% -52% -61% -64% -67% -69% -74% -76% -79% -81% -83%
# class_accessor_complex 2816901/s 142% 35% 25% -- -0% -6% -7% -8% -15% -21% -24% -24% -34% -39% -51% -55% -59% -61% -68% -70% -73% -76% -79%
# class_spiffy 2816901/s 142% 35% 25% 0% -- -6% -7% -8% -15% -21% -24% -24% -34% -39% -51% -55% -59% -61% -68% -70% -73% -76% -79%
# class_accessor_fast 2985075/s 157% 43% 33% 6% 6% -- -1% -3% -10% -16% -19% -19% -30% -36% -48% -52% -57% -58% -66% -69% -72% -75% -78%
# rubyish_attribute 3030303/s 161% 45% 35% 8% 8% 2% -- -2% -9% -15% -18% -18% -29% -35% -47% -52% -56% -58% -65% -68% -71% -74% -77%
# accessors 3076923/s 165% 48% 37% 9% 9% 3% 2% -- -8% -14% -17% -17% -28% -34% -46% -51% -55% -57% -65% -68% -71% -74% -77%
# spiffy 3333333/s 187% 60% 48% 18% 18% 12% 10% 8% -- -7% -10% -10% -22% -28% -42% -47% -52% -53% -62% -65% -68% -72% -75%
# class_accessor_lite 3571429/s 207% 71% 59% 27% 27% 20% 18% 16% 7% -- -4% -4% -16% -23% -38% -43% -48% -50% -59% -63% -66% -70% -73%
# moose_immutable 3703704/s 219% 78% 65% 31% 31% 24% 22% 20% 11% 4% -- -0% -13% -20% -35% -41% -46% -48% -57% -61% -65% -69% -72%
# class_accessor_classy 3703704/s 219% 78% 65% 31% 31% 24% 22% 20% 11% 4% 0% -- -13% -20% -35% -41% -46% -48% -57% -61% -65% -69% -72%
# mojo 4255319/s 266% 104% 89% 51% 51% 43% 40% 38% 28% 19% 15% 15% -- -9% -26% -32% -38% -40% -51% -55% -60% -64% -68%
# class_accessor_constructor 4651163/s 300% 123% 107% 65% 65% 56% 53% 51% 40% 30% 26% 26% 9% -- -19% -26% -33% -35% -47% -51% -56% -60% -65%
# class_xsaccessor_compat 5714286/s 391% 174% 154% 103% 103% 91% 89% 86% 71% 60% 54% 54% 34% 23% -- -9% -17% -20% -34% -40% -46% -51% -57%
# mouse_immutable 6250000/s 437% 200% 178% 122% 122% 109% 106% 103% 87% 75% 69% 69% 47% 34% 9% -- -9% -13% -28% -34% -41% -47% -53%
# class_accessor_fast_xs 6896552/s 493% 231% 207% 145% 145% 131% 128% 124% 107% 93% 86% 86% 62% 48% 21% 10% -- -3% -21% -28% -34% -41% -48%
# moo 7142857/s 514% 243% 218% 154% 154% 139% 136% 132% 114% 100% 93% 93% 68% 54% 25% 14% 4% -- -18% -25% -32% -39% -46%
# rose 8695652/s 648% 317% 287% 209% 209% 191% 187% 183% 161% 143% 135% 135% 104% 87% 52% 39% 26% 22% -- -9% -17% -26% -35%
# object_tiny_xs 9523810/s 719% 357% 324% 238% 238% 219% 214% 210% 186% 167% 157% 157% 124% 105% 67% 52% 38% 33% 10% -- -10% -19% -29%
# mouse 10526316/s 805% 405% 368% 274% 274% 253% 247% 242% 216% 195% 184% 184% 147% 126% 84% 68% 53% 47% 21% 11% -- -11% -21%
# class_xsaccessor 11764706/s 912% 465% 424% 318% 318% 294% 288% 282% 253% 229% 218% 218% 176% 153% 106% 88% 71% 65% 35% 24% 12% -- -12%
# class_xsaccessor_array 13333333/s 1047% 540% 493% 373% 373% 347% 340% 333% 300% 273% 260% 260% 213% 187% 133% 113% 93% 87% 53% 40% 27% 13% --
t/set.t ........... ok
All tests successful.
Files=3, Tests=3, 100 wallclock secs ( 0.01 usr 0.01 sys + 98.54 cusr 1.13 csys = 99.69 CPU)
Result: PASS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment