Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^4: Mouse role fails

by karlgoethebier (Prior)
on Nov 04, 2012 at 19:19 UTC ( #1002236=note: print w/replies, xml ) Need Help??


in reply to Re^3: Mouse role fails
in thread Mouse role fails

Hi, i also thought about giving MOO a try.

The platform for the ETL stuff that i have to do is M$-Dog with IIS 7. I have very little influence on the setup of this box - that means: use good old CGI. So performance is really an issue. And the tool must run under cmd too.

What do you think about this?

Regards, Karl

Replies are listed 'Best First'.
Re^5: Mouse role fails
by tobyink (Abbot) on Nov 04, 2012 at 19:45 UTC

    That link benchmarks Moo 0.009007 which is over 18 months old; the current version is 1.000005.

    An important speed factor for Moo is the availability of Class::XSAccessor. If that module is installed, Moo uses it to create very fast accessors. If it's not installed, Moo falls back to slower, pure Perl accessors.

    Because I've recently been working with Ingy on Moos (despite the name, it's actually smaller than Moo), I have some fairly up-to-date benchmarks for accessors across the Moose family...

    https://github.com/tobyink/moos-pm/blob/master/devel.benchmarks/bench-results-IntelAtomN270%401.6GHz.txt

    Moo has the fastest of the pure Perl accessors; and with XS, again it's the fastest.

    perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

      This sounds great, i will try it.

      Regards, Karl

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1002236]
help
Chatterbox?
[karlgoethebier]: Cojones! We need cojones!
[karlgoethebier]: Ouch! Permissions! We need permissions!
[BarApp]: I can not use modules. I gain temporary access and still can not use modules.
[Cosmic37]: ta erix - this szabo geezer is pretty cool methinks and he writes about undef but I cannot see instructions for redefining the record separator after having undefined it
[Corion]: $/ = "wahtever";
[Corion]: (it's a magic variable)
[karlgoethebier]: BarApp: whoami
[Cosmic37]: ok fankyou - I was wondering about that but thought there might be a redefine command or something; peachy

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2017-06-29 16:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (672 votes). Check out past polls.