Re: Benchmarking Moo(se)?

[email protected] (Dave Rolsky) Sat, 25 Jul 2015 09:15:07 -0500 (CDT)
Newsgroups perl.moose
Message-ID <[email protected]>
---5439001-1778508115-1437833707=:25214
Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8BIT

On Sat, 25 Jul 2015, Aran Deltac wrote:

> I've updated the benchmarks to use make_immutable.  There was definite improvements for Moose, but none of them were enough to change the
> conclusions.

Well, the difference between Moo and Moose went from orders of magnitude 
to percentages in most cases. This is a pretty huge change.

That all said, my experience is that in most applications performance is 
not dominated by object creation speed or accessor speed, but rather by 
the speed of algorithms and database access.

You'd probably get more performance improvement by changing a particluar 
section of code to create fewer objects rather than worrying about Moo vs 
moose.


-dave

/*============================================================
http://VegGuide.org               http://blog.urth.org
Your guide to all that's veg      House Absolute(ly Pointless)
============================================================*/
---5439001-1778508115-1437833707=:25214--